Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

linErrLog Class Reference

#include <errlog.h>

Inheritance diagram for linErrLog:

LibGPIB::linSerial List of all members.

Public Methods

 linErrLog (void)
 ~linErrLog ()
void Enable (void)
void Disable (void)
void SetLogLevel (severity)
severity GetLogLevel (void)
void SetScope (const char * scp)
void PrtErr (severity, char * fmt, ...)
void PrtMore (severity, char * fmt, ...)

Protected Types

enum  severity {
  FATAL,
  SEVERE,
  WARN,
  INFO,
  TRACE,
  DEBUG
}

Protected Attributes

short enabled
severity loglevel
const char* scope
FILE* errf


Member Enumeration Documentation

enum linErrLog::severity [protected]

Enumeration values:
FATAL  
SEVERE  
WARN  
INFO  
TRACE  
DEBUG  

Definition at line 79 of file errlog.h.


Constructor & Destructor Documentation

linErrLog::linErrLog ( void )

linErrLog::~linErrLog ( )


Member Function Documentation

void linErrLog::Disable ( void ) [inline]

Definition at line 92 of file errlog.h.

void linErrLog::Enable ( void ) [inline]

Definition at line 91 of file errlog.h.

severity linErrLog::GetLogLevel ( void )

void linErrLog::PrtErr ( severity,
char * fmt,
... )

void linErrLog::PrtMore ( severity,
char * fmt,
... )

void linErrLog::SetLogLevel ( severity )

void linErrLog::SetScope ( const char * scp ) [inline]

Definition at line 96 of file errlog.h.


Member Data Documentation

short linErrLog::enabled [protected]

Definition at line 102 of file errlog.h.

FILE * linErrLog::errf [protected]

Definition at line 105 of file errlog.h.

severity linErrLog::loglevel [protected]

Definition at line 103 of file errlog.h.

const char * linErrLog::scope [protected]

Definition at line 104 of file errlog.h.


The documentation for this class was generated from the following file:
Generated at Tue Aug 8 01:37:56 2000 for libgpib by doxygen1.1.4 written by Dimitri van Heesch, © 1997-2000