LogBase Class Reference
[Classes for basic data types and vectors/arrays (tjutils library)]

#include <tjlog.h>

Inheritance diagram for LogBase:

Inheritance graph
[legend]
Collaboration diagram for LogBase:

Collaboration graph
[legend]
List of all members.

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 LabelednamedObj
const char * funcName

Static Protected Attributes

static SingletonHandler< Global,
true > 
global

Friends

class LogOneLine
class DebugDialog

Classes

struct  Global

Detailed Description

Base class for all Log-component types which manages global settings

Definition at line 117 of file tjlog.h.


Member Function Documentation

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


The documentation for this class was generated from the following file:
Generated on Sat Jun 14 12:31:44 2008 by  doxygen 1.5.1