![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <Logging.hpp>
Inheritance diagram for cat::Logging:Public Member Functions | |
| void | EnableServiceMode (const char *service_name) |
| void | Initialize (EventSeverity min_severity=LVL_INANE) |
| CAT_INLINE bool | IsService () |
| void | ReadSettings () |
| CAT_INLINE void | SetLogCallback (LogCallback cb) |
| CAT_INLINE void | SetThreshold (EventSeverity min_severity) |
| void | Shutdown () |
| void | WriteServiceLog (EventSeverity severity, const char *line) |
Public Attributes | |
| int | _log_threshold |
Protected Attributes | |
| bool | _service |
Private Member Functions | |
| CAT_SINGLETON (Logging) | |
| void | LogEvent (Recorder *recorder) |
Private Attributes | |
| LogCallback | _callback |
Friends | |
| class | Recorder |
Definition at line 69 of file Logging.hpp.
| cat::Logging::CAT_SINGLETON | ( | Logging | ) | [private] |
| void cat::Logging::EnableServiceMode | ( | const char * | service_name | ) |
| void cat::Logging::Initialize | ( | EventSeverity | min_severity = LVL_INANE | ) |
| CAT_INLINE bool cat::Logging::IsService | ( | ) | [inline] |
| void cat::Logging::LogEvent | ( | Recorder * | recorder | ) | [private] |
| void cat::Logging::ReadSettings | ( | ) |
| CAT_INLINE void cat::Logging::SetLogCallback | ( | LogCallback | cb | ) | [inline] |
| CAT_INLINE void cat::Logging::SetThreshold | ( | EventSeverity | min_severity | ) | [inline] |
Definition at line 83 of file Logging.hpp.
References _log_threshold.
{ _log_threshold = min_severity; }
| void cat::Logging::Shutdown | ( | ) |
| void cat::Logging::WriteServiceLog | ( | EventSeverity | severity, |
| const char * | line | ||
| ) |
friend class Recorder [friend] |
Definition at line 75 of file Logging.hpp.
LogCallback cat::Logging::_callback [private] |
Definition at line 73 of file Logging.hpp.
Referenced by SetLogCallback().
Definition at line 79 of file Logging.hpp.
Referenced by SetThreshold().
bool cat::Logging::_service [protected] |
Definition at line 88 of file Logging.hpp.
Referenced by IsService().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.