BayesianAnalysisToolkit
0.9.3
|
A class for managing log messages. More...
#include <BCLog.h>
Public Types | |
enum | LogLevel { debug, detail, summary, warning, error, nothing } |
Public Member Functions | |
Constructors and destructors | |
BCLog () | |
~BCLog () | |
Static Public Member Functions | |
Getters | |
static BCLog::LogLevel | GetLogLevelFile () |
static BCLog::LogLevel | GetLogLevelScreen () |
Setters | |
static void | SetLogLevelFile (BCLog::LogLevel loglevel) |
static void | SetLogLevelScreen (BCLog::LogLevel loglevel) |
static void | SetLogLevel (BCLog::LogLevel loglevelscreen, BCLog::LogLevel loglevelfile) |
static void | SetLogLevel (BCLog::LogLevel loglevel) |
Miscellaneous | |
static void | OpenLog (const char *filename, BCLog::LogLevel loglevelfile, BCLog::LogLevel loglevelscreen) |
static void | OpenLog (const char *filename) |
static void | OpenLog () |
static bool | IsOpen () |
static void | CloseLog () |
static void | Out (BCLog::LogLevel loglevelfile, BCLog::LogLevel loglevelscreen, const char *message) |
static void | Out (const char *message) |
static void | Out (BCLog::LogLevel loglevel, const char *message) |
static void | OutError (const char *message) |
static void | OutWarning (const char *message) |
static void | OutSummary (const char *message) |
static void | OutDetail (const char *message) |
static void | OutDebug (const char *message) |
static void | StartupInfo () |
static const char * | GetVersion () |
static int | GetHIndex () |
static const char * | ToString (BCLog::LogLevel) |
Static Private Attributes | |
static const char * | fVersion = VERSION |
static BCLog::LogLevel | fMinimumLogLevelFile = BCLog::debug |
static BCLog::LogLevel | fMinimumLogLevelScreen = BCLog::summary |
static std::ofstream | fOutputStream |
static bool | fFirstOutputDone = false |
static int | fHindex = 0 |
A class for managing log messages.
enum BCLog::LogLevel |
BCLog::BCLog | ( | ) |
|
static |
Closes the log file
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
Converts a log level to a string
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |