-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
Description
This is a summary of various issues related to the existing logging module.
- It's a thread local variable, which runs into issues with logging in child threads and distributed systems. Logging callback should not be thread local. #9147
- It creates symbol conflicts. LOG_DEBUG/LOG_INFO/etc... preprocessor macros create collisions with project that use those already #6678 CHECK_* macro in logging.h collides with CHECK_* macro from absl #10400
- It doesn't translate into binding-specific logging facility very well. For example, how to use Python logging with file output?
- It should have a separate channel/logger for different types of logs. For instance, the memory allocation log should not be mixed into other debug logs.
hcho3