There was an error while loading. Please reload this page.
1 parent 6e8cfaf commit 474a213Copy full SHA for 474a213
1 file changed
src/common/log/log.h
@@ -65,10 +65,11 @@ class Log
65
static int init(const string &log_file);
66
67
/**
68
- * These functions won't output header information such as __FUNCTION__,
69
- * The user should control these information
70
- * If the header information should be outputed
71
- * please use LOG_PANIC, LOG_ERROR ...
+ * Stream-style logging with default level.
+ * It will emit the standard log header (time/pid/tid/context/function/file/line)
+ * via LOG_HEAD before the message, consistent with LOG_* macros.
+ * If you need to customize or suppress headers, use output/out with your own
72
+ * prefix handling instead of this operator.
73
*/
74
template <class T>
75
Log &operator<<(T message);
0 commit comments