fs/sys/fsLog.h File Reference

Go to the source code of this file.

Namespaces

namespace  fs
namespace  fs::sys

Classes

class  fs::sys::Log_t
 Log system. More...

Defines

#define FS_LOG_ENABLE_MODLOG
 Enable: ModLog() - Module log instance.
#define FS_LOG_MODLOG_MODE   fs::sys::Log_t::LOG_HIST
 Set: Default configuration flags for ModLog().
#define FS_LOG_MODLOG_HIST   1024
 Set: Default history depth for ModLog().
#define FS_LOG_MODLOG_FILE   "fs.log"
 Set: Default log file for ModLog().
#define FS_LOG_ENABLE_DEBUG
 Enable: FS_LOG_DBG macro.
#define FS_LOG   fs::sys::ModLog().Push
#define FS_LOG_DBG   FS_LOG

Functions

Log_t & fs::sys::ModLog ()
 Module log instance.


Define Documentation

#define FS_LOG   fs::sys::ModLog().Push

Examples:
_tests/fsLog/dll.cpp, and _tests/fsLog/main.cpp.

Definition at line 125 of file fsLog.h.

#define FS_LOG_DBG   FS_LOG

Definition at line 127 of file fsLog.h.

#define FS_LOG_ENABLE_DEBUG

Enable: FS_LOG_DBG macro.

Definition at line 37 of file fsLog.h.

#define FS_LOG_ENABLE_MODLOG

Enable: ModLog() - Module log instance.

If this directive is defined, an instance of Log_t is created for each module. It's accessible through fs::sys::ModLog(). Two helper macros FS_LOG and FS_LOG_DBG are also provided.

Definition at line 28 of file fsLog.h.

#define FS_LOG_MODLOG_FILE   "fs.log"

Set: Default log file for ModLog().

Definition at line 34 of file fsLog.h.

#define FS_LOG_MODLOG_HIST   1024

Set: Default history depth for ModLog().

Definition at line 32 of file fsLog.h.

#define FS_LOG_MODLOG_MODE   fs::sys::Log_t::LOG_HIST

Set: Default configuration flags for ModLog().

Definition at line 30 of file fsLog.h.


FipS' Code (Thu Feb 15 22:43:44 2007) - (c) Filip STOKLAS (FipS) - [ www ] [ Guest Book ]