VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
VICI::cfi::SystemLogger Class Reference

logger that interfaces to the Linux syslog More...

#include <vici/log.h>

Inheritance diagram for VICI::cfi::SystemLogger:
VICI::cfi::logger

Public Member Functions

 SystemLogger (csr ident)
 
int log (Severity, csr line)
 log to the unnamed log More...
 
int log (csr logName, Severity, csr line)
 log to the named log More...
 
- Public Member Functions inherited from VICI::cfi::logger
virtual ~logger ()
 Destructor.
 

Additional Inherited Members

- Protected Member Functions inherited from VICI::cfi::logger
 logger ()
 Constructor.
 
- Protected Attributes inherited from VICI::cfi::logger
Semaphore sem4
 Mutual exclusion lock.
 

Detailed Description

logger that interfaces to the Linux syslog

Constructor & Destructor Documentation

SystemLogger::SystemLogger ( csr  ident)
Parameters
identthe identifier for the log.

Member Function Documentation

int SystemLogger::log ( Severity  sev,
csr  line 
)
virtual

log to the unnamed log

Parameters
sevthe severity level for the message
linethe message to place in the log
Returns
the number of characters from the string that were written.

Implements VICI::cfi::logger.

int SystemLogger::log ( csr  logName,
Severity  sev,
csr  line 
)
virtual

log to the named log

Parameters
logNamethe name of the log stream to write to
sevthe severity level for the message
linethe message to place in the log
Returns
the number of characters from the string that were written.

Implements VICI::cfi::logger.


The documentation for this class was generated from the following files: