#include <tjlog.h>
Inheritance diagram for LogBase:


Public Member Functions | |
| LogBase () | |
| LogBase (const char *component, const char *object, const Labeled *labeledObject, const char *function) | |
Static Public Member Functions | |
| static void | set_log_level (const char *compname, logPriority level) |
| static void | set_uniform_log_level (logPriority level) |
| static bool | set_log_levels (int argc, char *argv[], bool trigger_error=true) |
| static STD_string | get_usage () |
| static const char * | get_levels () |
| static void | set_levels (const char *str) |
| static void | set_log_output_function (tracefunction func) |
Protected Attributes | |
| const char * | compLabel |
| const char * | objLabel |
| const Labeled * | namedObj |
| const char * | funcName |
Static Protected Attributes | |
|
static SingletonHandler< Global, true > | global |
Friends | |
| class | LogOneLine |
| class | DebugDialog |
Classes | |
| struct | Global |
Definition at line 117 of file tjlog.h.
| static void LogBase::set_log_level | ( | const char * | compname, | |
| logPriority | level | |||
| ) | [static] |
Set the log output level of component 'compname' to 'level'
| static void LogBase::set_uniform_log_level | ( | logPriority | level | ) | [static] |
Set uniform log output level for all components
| static bool LogBase::set_log_levels | ( | int | argc, | |
| char * | argv[], | |||
| bool | trigger_error = true | |||
| ) | [static] |
Set log levels from command line
| static STD_string LogBase::get_usage | ( | ) | [static] |
Get command line usage for setting log levels
| static const char* LogBase::get_levels | ( | ) | [static] |
Serialize log-level settings to string
| static void LogBase::set_levels | ( | const char * | str | ) | [static] |
Set log levels from string
| static void LogBase::set_log_output_function | ( | tracefunction | func | ) | [static] |
Set trace function
1.5.1