- Version:
- $Revision: 3923 $ $Date: 2005-10-25 13:25:45 +0200 (Di, 25 Okt 2005) $
- Author:
- gunter zeilinger
- See Also:
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.OutputStreamWriter |
close, getEncoding, write, write, write |
Methods inherited from class java.io.Writer |
append, append, append, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_EMERG
public static final int LOG_EMERG
- system is unusable
- See Also:
- Constant Field Values
LOG_ALERT
public static final int LOG_ALERT
- action must be taken immediately
- See Also:
- Constant Field Values
LOG_CRIT
public static final int LOG_CRIT
- critical conditions
- See Also:
- Constant Field Values
LOG_ERR
public static final int LOG_ERR
- error conditions
- See Also:
- Constant Field Values
LOG_WARNING
public static final int LOG_WARNING
- warning conditions
- See Also:
- Constant Field Values
LOG_NOTICE
public static final int LOG_NOTICE
- normal but significant condition
- See Also:
- Constant Field Values
LOG_INFO
public static final int LOG_INFO
- informational
- See Also:
- Constant Field Values
LOG_DEBUG
public static final int LOG_DEBUG
- debug-level messages
- See Also:
- Constant Field Values
LOG_KERN
public static final int LOG_KERN
- kernel messages
- See Also:
- Constant Field Values
LOG_USER
public static final int LOG_USER
- random user-level messages
- See Also:
- Constant Field Values
LOG_MAIL
public static final int LOG_MAIL
- mail system
- See Also:
- Constant Field Values
LOG_DAEMON
public static final int LOG_DAEMON
- system daemons
- See Also:
- Constant Field Values
LOG_AUTH
public static final int LOG_AUTH
- security/authorization messages
- See Also:
- Constant Field Values
LOG_SYSLOG
public static final int LOG_SYSLOG
- messages generated internally by syslogd
- See Also:
- Constant Field Values
LOG_LPR
public static final int LOG_LPR
- line printer subsystem
- See Also:
- Constant Field Values
LOG_NEWS
public static final int LOG_NEWS
- network news subsystem
- See Also:
- Constant Field Values
LOG_UUCP
public static final int LOG_UUCP
- UUCP subsystem
- See Also:
- Constant Field Values
LOG_CRON
public static final int LOG_CRON
- clock daemon
- See Also:
- Constant Field Values
LOG_AUTHPRIV
public static final int LOG_AUTHPRIV
- security/authorization messages (private)
- See Also:
- Constant Field Values
LOG_FTP
public static final int LOG_FTP
- ftp daemon
- See Also:
- Constant Field Values
LOG_LOCAL0
public static final int LOG_LOCAL0
- reserved for local use
- See Also:
- Constant Field Values
LOG_LOCAL1
public static final int LOG_LOCAL1
- reserved for local use
- See Also:
- Constant Field Values
LOG_LOCAL2
public static final int LOG_LOCAL2
- reserved for local use
- See Also:
- Constant Field Values
LOG_LOCAL3
public static final int LOG_LOCAL3
- reserved for local use
- See Also:
- Constant Field Values
LOG_LOCAL4
public static final int LOG_LOCAL4
- reserved for local use
- See Also:
- Constant Field Values
LOG_LOCAL5
public static final int LOG_LOCAL5
- reserved for local use
- See Also:
- Constant Field Values
LOG_LOCAL6
public static final int LOG_LOCAL6
- reserved for local use
- See Also:
- Constant Field Values
LOG_LOCAL7
public static final int LOG_LOCAL7
- reserved for local use
- See Also:
- Constant Field Values
syslogHost
public java.lang.String syslogHost
syslogPort
public int syslogPort
SyslogWriter
public SyslogWriter()
levelAsString
public static java.lang.String levelAsString(int level)
forName
public static final int forName(java.lang.String name)
setSyslogHost
public void setSyslogHost(java.lang.String syslogHost)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
getSyslogHost
public java.lang.String getSyslogHost()
setSyslogPort
public void setSyslogPort(int syslogPort)
getSyslogPort
public int getSyslogPort()
setPrintHostName
public void setPrintHostName(boolean printHostName)
setContentPrefix
public void setContentPrefix(java.lang.String contentPrefix)
setFacility
public void setFacility(java.lang.String facility)
getFacilityAsString
public java.lang.String getFacilityAsString()
setFacility
public void setFacility(int facility)
setTag
public void setTag(java.lang.String tag)
writeHeader
public void writeHeader(int level)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeader
public void writeHeader(int level,
long millis)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public void writeTo(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int level,
java.lang.String msg)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int level,
java.lang.String msg,
long millis)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public void writeTo(int level,
java.lang.String msg,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public void writeTo(int level,
java.lang.String msg,
java.io.OutputStream out,
long millis)
throws java.io.IOException
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStreamWriter
- Throws:
java.io.IOException