#include <log.h>
|
static void | verbose (const char *text, int line, const char *file, const char *function) |
|
static void | debug (const char *text, int line, const char *file, const char *function) |
|
static void | information (const char *text, int line, const char *file, const char *function) |
|
static void | warning (const char *text, int line, const char *file, const char *function) |
|
static void | error (const char *text, int line, const char *file, const char *function) |
|
static Log & | getSingleton () |
|
static Log * | getSingletonPtr () |
|
|
void | writeToLogfile (ELevel level, const char *text, int line, const char *file, const char *function) |
|
|
static const char * | simplify (const char *filename) |
|
Definition at line 67 of file log.h.
Enumerator |
---|
LEVEL_VERBOSE |
|
LEVEL_DEBUG |
|
LEVEL_INFORMATION |
|
LEVEL_WARNING |
|
LEVEL_ERROR |
|
Definition at line 73 of file log.h.
Log::Log |
( |
bool |
useLogfile = true | ) |
|
void Log::debug |
( |
const char * |
text, |
|
|
int |
line, |
|
|
const char * |
file, |
|
|
const char * |
function |
|
) |
| |
|
static |
void Log::error |
( |
const char * |
text, |
|
|
int |
line, |
|
|
const char * |
file, |
|
|
const char * |
function |
|
) |
| |
|
static |
static Log& Log::getSingleton |
( |
| ) |
|
|
inlinestatic |
Definition at line 91 of file log.h.
static Log* Log::getSingletonPtr |
( |
| ) |
|
|
inlinestatic |
Definition at line 92 of file log.h.
void Log::impl_debug |
( |
const char * |
l | ) |
|
|
protectedvirtual |
void Log::impl_error |
( |
const char * |
l | ) |
|
|
protectedvirtual |
void Log::impl_information |
( |
const char * |
l | ) |
|
|
protectedvirtual |
void Log::impl_verbose |
( |
const char * |
l | ) |
|
|
protectedvirtual |
void Log::impl_warning |
( |
const char * |
l | ) |
|
|
protectedvirtual |
void Log::information |
( |
const char * |
text, |
|
|
int |
line, |
|
|
const char * |
file, |
|
|
const char * |
function |
|
) |
| |
|
static |
const char * Log::simplify |
( |
const char * |
filename | ) |
|
|
staticprivate |
void Log::verbose |
( |
const char * |
text, |
|
|
int |
line, |
|
|
const char * |
file, |
|
|
const char * |
function |
|
) |
| |
|
static |
void Log::warning |
( |
const char * |
text, |
|
|
int |
line, |
|
|
const char * |
file, |
|
|
const char * |
function |
|
) |
| |
|
static |
void Log::writeToLogfile |
( |
ELevel |
level, |
|
|
const char * |
text, |
|
|
int |
line, |
|
|
const char * |
file, |
|
|
const char * |
function |
|
) |
| |
|
private |
const std::string Log::LOG_NAME |
|
static |
Definition at line 70 of file log.h.
std::shared_ptr< Log > Log::mLog |
|
staticprivate |
std::ofstream Log::mLogStream |
|
private |
The documentation for this class was generated from the following files:
- /home/hinrichsen/Dokumente/Aktuell/EPT/Entropy-Piano-Tuner/core/system/log.h
- /home/hinrichsen/Dokumente/Aktuell/EPT/Entropy-Piano-Tuner/core/system/log.cpp