diff options
author | Pixel <pixel@nobis-crew.org> | 2011-11-29 01:20:21 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-11-29 01:20:21 -0800 |
commit | 07b2ec5910e103fc38daa55d0fd0e931b66f5626 (patch) | |
tree | 426d3a5e49cb22b380f7e2c50a23b507606486b4 /includes/Printer.h | |
parent | 7e19ed346d2305dd63edd01ed8aa79e0dfb02d01 (diff) |
Adding detailled logs, with timestamp and threadid.
Diffstat (limited to 'includes/Printer.h')
-rw-r--r-- | includes/Printer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/Printer.h b/includes/Printer.h index dee5adc..e321557 100644 --- a/includes/Printer.h +++ b/includes/Printer.h @@ -71,7 +71,11 @@ class Printer { static void enable(uint32_t levels = M_ALL) { getPrinter()->m_verbosity |= levels; } static void disable(uint32_t levels = M_ALL) { getPrinter()->m_verbosity &= ~levels; } + static void setDetailled(bool enable) { getPrinter()->m_detailledLogs = enable; } + + private: uint32_t m_verbosity; + bool m_detailledLogs; }; }; |