Node Director
Public Member Functions | Protected Member Functions | List of all members
sfi.director.jobs.JobLogger Class Reference

This logger logs log messages to a given job via the Job.log() method. More...

Inheritance diagram for sfi.director.jobs.JobLogger:
sfi.director.util.Logger

Public Member Functions

 JobLogger (Object key)
void setSyslog (boolean enable)
void setJob (Job job)
Logger createLogger (Object key)
void syslog (LogEntry le)
- Public Member Functions inherited from sfi.director.util.Logger
 Logger (Object key)
void setSubthread (Thread subthread)
void unregister ()
void unregister (Thread thread)
Logger getLogger (Object key)
Logger getLogger ()
void indent ()
void indent (Object key)
int getIndent ()
int getIndent (Object key)
int iGetIndent ()
void outdent ()
void outdent (Object key)
void close ()
void close (Object key)
void setTitle (String title)
void setTitle (Object key, String title)
void setChain (Logger up)
void setChain (Object key, Logger up)
void iSetChain (Logger up)
void log (int kind, String message)
void log (LogEntry log)
void log (Object key, LogEntry log)

Protected Member Functions

void iLog (LogEntry le)
- Protected Member Functions inherited from sfi.director.util.Logger
void iIndent ()
void iOutdent ()
void iClose ()
void iSetTitle (String title)

Additional Inherited Members

- Static Public Member Functions inherited from sfi.director.util.Logger
static void register (Object key, Logger thelogger)
static int monitoredSize ()
static void register (Logger thelogger)
static void clearLoggers ()
static Object getKey ()
- Static Public Attributes inherited from sfi.director.util.Logger
static final int DEBUG = 0
static final int INFO = 1
static final int NOTICE = 2
static final int WARNING = 3
static final int ERR = 4
static final int CRIT = 5
static final int ALERT = 6
static final int EMERG = 7
static int syslogErrors = 0
static final String[] syslogLevels

Detailed Description

This logger logs log messages to a given job via the Job.log() method.

syslog() messages are suppressed since JobLogger assumes there is another logger getting the same log messages via Logger.chain()

Constructor & Destructor Documentation

sfi.director.jobs.JobLogger.JobLogger ( Object  key)

Member Function Documentation

Logger sfi.director.jobs.JobLogger.createLogger ( Object  key)
void sfi.director.jobs.JobLogger.iLog ( LogEntry  le)
protected
void sfi.director.jobs.JobLogger.setJob ( Job  job)
void sfi.director.jobs.JobLogger.setSyslog ( boolean  enable)
void sfi.director.jobs.JobLogger.syslog ( LogEntry  le)

Reimplemented from sfi.director.util.Logger.


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