Class UnixSystemLog

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOG  
      private static java.lang.String PREAMBLE  
      private java.util.concurrent.ExecutorService singleExecutor  
    • Constructor Summary

      Constructors 
      Constructor Description
      UnixSystemLog()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void log​(java.lang.String message)  
      private void logToSyslog​(java.lang.String message)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final Logger LOG
      • singleExecutor

        private final java.util.concurrent.ExecutorService singleExecutor
    • Constructor Detail

      • UnixSystemLog

        public UnixSystemLog()
    • Method Detail

      • log

        public void log​(java.lang.String message)
        Specified by:
        log in interface SingleStreamLogger
      • logToSyslog

        private void logToSyslog​(java.lang.String message)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface SingleStreamLogger