![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <StkLogger.h>
Public Member Functions | |
FileLogger (const std::string &filename="", int log_level=1, bool append=true) | |
bool | open (const std::string &filename, bool append=true) |
void | setLogLevel (int log_level) |
int | getLogLevel () const |
void | close () |
FILE * | getFileHandle () const |
void | logPuts (int level, const std::string &module, const char *str) |
virtual int | getLogLevel () const =0 |
virtual void | logPuts (int level, const std::string &module, const char *str)=0 |
Protected Attributes | |
std::mutex | mutex_ |
FILE * | file_ |
int | log_level_ |
StkLogger - Thread-safe logger mechanism This class provides a global logging mechanism which can be used throughout the Silent Wings code
|
virtual |
Implements STK::ILogger.
|
virtual |
Implements STK::ILogger.