Class SimpleLogFile

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleLogFile​(java.io.File file)  
      SimpleLogFile​(java.io.File file, java.lang.String enc)  
    • Method Summary

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

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleLogFile

        public SimpleLogFile​(java.io.File file,
                             java.lang.String enc)
                      throws java.io.UnsupportedEncodingException,
                             java.io.IOException
        Throws:
        java.io.UnsupportedEncodingException
        java.io.IOException
      • SimpleLogFile

        public SimpleLogFile​(java.io.File file)
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • log

        public void log​(java.lang.String message)
                 throws java.io.IOException
        Specified by:
        log in interface MessageLogger
        Throws:
        java.io.IOException
      • log

        public void log​(java.lang.Throwable t,
                        java.lang.String message)
                 throws java.io.IOException
        Specified by:
        log in interface MessageLogger
        Throws:
        java.io.IOException
      • close

        public void close()
      • finalize

        public void finalize()
        Overrides:
        finalize in class java.lang.Object