Node Director
|
This logger logs log messages to a given job via the Job.log() method. More...
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 |
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()
sfi.director.jobs.JobLogger.JobLogger | ( | Object | key | ) |
Referenced by sfi.director.jobs.JobLogger.createLogger().
Logger sfi.director.jobs.JobLogger.createLogger | ( | Object | key | ) |
Reimplemented from sfi.director.util.Logger.
References sfi.director.jobs.JobLogger.JobLogger().
|
protected |
Reimplemented from sfi.director.util.Logger.
References sfi.director.util.Logger.DEBUG, sfi.director.util.Tools.debuglev, sfi.director.util.LogEntry.getIndent(), and sfi.director.util.LogEntry.getLevel().
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.