|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.logging.Formatter
edu.mscd.cs.javaln.syslog.SyslogFormatter
edu.mscd.cs.javaln.syslog.SyslogdFormatter
public class SyslogdFormatter
| Field Summary |
|---|
| Fields inherited from class edu.mscd.cs.javaln.syslog.SyslogFormatter |
|---|
Auth, Authpriv, Cron, Daemon, facility, FTP, Kern, Local0, Local1, Local2, Local3, Local4, Local5, Local6, Local7, LPR, Mail, News, Syslog, User, UUCP |
| Constructor Summary | |
|---|---|
SyslogdFormatter()
|
|
SyslogdFormatter(int facility)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPrefix(int level)
A simple formatting routine that returns a properly fomatted prefix for a syslogd message. |
static void |
main(java.lang.String[] args)
Unit tests |
| Methods inherited from class edu.mscd.cs.javaln.syslog.SyslogFormatter |
|---|
format, mapFacility, mapLevel |
| Methods inherited from class java.util.logging.Formatter |
|---|
formatMessage, getHead, getTail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyslogdFormatter()
public SyslogdFormatter(int facility)
| Method Detail |
|---|
public java.lang.String getPrefix(int level)
getPrefix in class SyslogFormatterlevel - the numerical level of the message
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||