Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ssobjects::logs Class Reference

#include <logs.h>

List of all members.

Public Types

enum  {
  L_FILE = 1, L_CONSOLE = 2, L_DEFAULT = 3, L_NONE = 0,
  L_ALL = 0xFFFFFFFF
}

Public Methods

 logs (const char *pFuncName)
 ~logs ()

Static Public Methods

void log (const char *fmt,...)
void logln (const char *fmt,...)
void dump (void *pMemory, DWORD dwNumBytes)
void init (const char *pszLogFileName)
void deinit ()
void enable (bool bEnable=true)
void set (unsigned nSet, unsigned nReset=0)

Public Attributes

enum max_funcs = 100
enum max_func_len = 80}

Static Public Attributes

bool m_bActive = false
unsigned m_nFlags = L_CONSOLE
bool m_bInited = false


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
L_FILE 
L_CONSOLE 
L_DEFAULT 
L_NONE 
L_ALL 


Constructor & Destructor Documentation

logs::logs const char *    pFuncName
 

logs::~logs  
 


Member Function Documentation

void logs::deinit   [static]
 

void ssobjects::logs::dump void *    pMemory,
DWORD    dwNumBytes
[static]
 

void logs::enable bool    bEnable = true [static]
 

void logs::init const char *    pszLogFileName [static]
 

void logs::log const char *    fmt,
...   
[static]
 

void logs::logln const char *    fmt,
...   
[static]
 

void logs::set unsigned    nSet,
unsigned    nReset = 0
[static]
 


Member Data Documentation

bool logs::m_bActive = false [static]
 

bool logs::m_bInited = false [static]
 

unsigned logs::m_nFlags = L_CONSOLE [static]
 

enum ssobjects::logs::max_func_len = 80}
 

enum ssobjects::logs::max_funcs = 100
 


The documentation for this class was generated from the following files:
Generated on Thu Nov 8 12:39:28 2001 for SimpleServerObjects by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001