diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-31 23:44:54 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-31 23:44:54 +0000 |
commit | 86f0df155e183924693f6bacfc0a158a14f05bed (patch) | |
tree | d7931c3b160f54dbd6e20dcd9841fdb4579da12b /lib/common/Logging.h | |
parent | 2ccdaf9a575f4cc0d758a87300b7cf51d96c9779 (diff) |
Add support for microsecond timestamps and PID logging on console log
for daemons.
Diffstat (limited to 'lib/common/Logging.h')
-rw-r--r-- | lib/common/Logging.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common/Logging.h b/lib/common/Logging.h index 78db2bea..f26fd217 100644 --- a/lib/common/Logging.h +++ b/lib/common/Logging.h @@ -121,6 +121,7 @@ class Console : public Logger static bool sShowTimeMicros; static bool sShowTag; static std::string sTag; + static bool sShowPID; public: virtual bool Log(Log::Level level, const std::string& rFile, @@ -131,6 +132,7 @@ class Console : public Logger static void SetTag(const std::string& rTag); static void SetShowTime(bool enabled); static void SetShowTimeMicros(bool enabled); + static void SetShowPID(bool enabled); }; // -------------------------------------------------------------------------- |