aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/trace.h
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commitbf9e69a933f89af083d895185f01ed65e4d90766 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/stream/trace.h
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
downloadydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/stream/trace.h')
-rw-r--r--util/stream/trace.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/util/stream/trace.h b/util/stream/trace.h
index 03cab37a8f..e74b6ecf3e 100644
--- a/util/stream/trace.h
+++ b/util/stream/trace.h
@@ -2,9 +2,9 @@
#include "debug.h"
-/**
- * Debug level, as set via `DBGOUT` environment variable.
- */
+/**
+ * Debug level, as set via `DBGOUT` environment variable.
+ */
enum ETraceLevel: ui8 {
TRACE_ERR = 1,
TRACE_WARN = 2,
@@ -22,24 +22,24 @@ enum ETraceLevel: ui8 {
#ifdef Y_ENABLE_TRACE
/**
- * Writes the given data into standard debug stream if current debug level set
- * via `DBGOUT` environment variable permits it.
- *
+ * Writes the given data into standard debug stream if current debug level set
+ * via `DBGOUT` environment variable permits it.
+ *
* Does nothing in release builds unless `Y_ENABLE_TRACE` is defined.
- *
- * Example usage:
- * @code
+ *
+ * Example usage:
+ * @code
* Y_DBGTRACE(DEBUG, "Advance from " << node1 << " to " << node2);
- * @endcode
- *
- * @param elevel Debug level of this trace command, e.g.
- * `WARN` or `DEBUG`. Basically a suffix of
- * one of the values of `ETraceLevel` enum.
- * @param args Argument chain to be written out into
- * standard debug stream, joined with `<<`
- * operator.
- * @see ETraceLevel
- */
+ * @endcode
+ *
+ * @param elevel Debug level of this trace command, e.g.
+ * `WARN` or `DEBUG`. Basically a suffix of
+ * one of the values of `ETraceLevel` enum.
+ * @param args Argument chain to be written out into
+ * standard debug stream, joined with `<<`
+ * operator.
+ * @see ETraceLevel
+ */
#define Y_DBGTRACE(elevel, args) Y_DBGTRACE0(int(TRACE_##elevel), args)
#define Y_DBGTRACE0(level, args) \
do \