Class UnixSystemLog
- java.lang.Object
-
- net.sourceforge.jnlp.util.logging.UnixSystemLog
-
- All Implemented Interfaces:
java.lang.AutoCloseable,SingleStreamLogger
public class UnixSystemLog extends java.lang.Object implements SingleStreamLogger
-
-
Field Summary
Fields Modifier and Type Field Description private static LoggerLOGprivate static java.lang.StringPREAMBLEprivate java.util.concurrent.ExecutorServicesingleExecutor
-
Constructor Summary
Constructors Constructor Description UnixSystemLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidlog(java.lang.String message)private voidlogToSyslog(java.lang.String message)
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
PREAMBLE
private static final java.lang.String PREAMBLE
- See Also:
- Constant Field Values
-
singleExecutor
private final java.util.concurrent.ExecutorService singleExecutor
-
-
Method Detail
-
log
public void log(java.lang.String message)
- Specified by:
login interfaceSingleStreamLogger
-
logToSyslog
private void logToSyslog(java.lang.String message)
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceSingleStreamLogger
-
-