aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/event.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/util/event.proto')
-rw-r--r--tensorflow/core/util/event.proto6
1 files changed, 5 insertions, 1 deletions
diff --git a/tensorflow/core/util/event.proto b/tensorflow/core/util/event.proto
index 5c3a88a2d7..5c3799c132 100644
--- a/tensorflow/core/util/event.proto
+++ b/tensorflow/core/util/event.proto
@@ -43,7 +43,11 @@ message Event {
message LogMessage {
enum Level {
UNKNOWN = 0;
- DEBUG = 10;
+ // Note: The logging level 10 cannot be named DEBUG. Some software
+ // projects compile their C/C++ code with -DDEBUG in debug builds. So the
+ // C++ code generated from this file should not have an identifier named
+ // DEBUG.
+ DEBUGGING = 10;
INFO = 20;
WARN = 30;
ERROR = 40;