@@ -22,10 +22,12 @@ # include #endif OF_ASSUME_NONNULL_BEGIN +/*! @file */ + /*! * @class OFStdIOStream OFStdIOStream.h ObjFW/OFStdIOStream.h * * @brief A class for providing standard input, output and error as OFStream. * @@ -82,11 +84,17 @@ /*! * @brief The standard error as an OFStream. */ extern OFStdIOStream *_Nullable of_stderr; -extern void of_log(OFConstantString *, ...); +/*! + * @brief Log the specified printf-style format to @ref of_stderr. + * + * This prefixes the output with the date, timestamp, process name and PID and + * allows `%@` as a printf-style formatted to print objects. + */ +extern void of_log(OFConstantString *format, ...); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END