Planeshift
Functions | Variables

pslog Namespace Reference

Functions

void DisplayFlags (const char *name=NULL)
bool DoLog (int severity, LOG_TYPES type, uint32 filter_id)
const char * GetName (int id)
const char * GetSettingName (int id)
bool GetValue (const char *name)
void void Initialize (iObjectRegistry *object_reg)
void LogMessage (const char *file, int line, const char *function, int severity, LOG_TYPES type, uint32 filter_id, const char *msg,...) CS_GNUC_PRINTF(7
void SetFlag (const char *name, bool flag, uint32 filter)

Variables

bool disp_flag [MAX_FLAGS]
iObjectRegistry * logger

Function Documentation

void pslog::DisplayFlags ( const char *  name = NULL)
bool pslog::DoLog ( int  severity,
LOG_TYPES  type,
uint32  filter_id 
)
const char* pslog::GetName ( int  id)
const char* pslog::GetSettingName ( int  id)
bool pslog::GetValue ( const char *  name)
void void pslog::Initialize ( iObjectRegistry *  object_reg)
void pslog::LogMessage ( const char *  file,
int  line,
const char *  function,
int  severity,
LOG_TYPES  type,
uint32  filter_id,
const char *  msg,
  ... 
)
void pslog::SetFlag ( const char *  name,
bool  flag,
uint32  filter 
)

Variable Documentation

bool pslog::disp_flag[MAX_FLAGS]
iObjectRegistry* pslog::logger