Class FileLoggerImpl

  • All Implemented Interfaces:
    ILogger, java.io.Closeable, java.lang.AutoCloseable

    public class FileLoggerImpl
    extends BaseLogger
    • Field Summary

      • Fields inherited from interface com.ss.android.ugc.bytex.common.log.ILogger

        DEFAULT
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      protected void finalize()  
      static FileLoggerImpl of​(java.lang.String fileName)  
      protected void write​(org.gradle.api.logging.LogLevel level, java.lang.String prefix, java.lang.String msg, java.lang.Throwable t)  
      • Methods inherited from class java.lang.Object

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

      • of

        public static FileLoggerImpl of​(java.lang.String fileName)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        protected void write​(org.gradle.api.logging.LogLevel level,
                             java.lang.String prefix,
                             java.lang.String msg,
                             java.lang.Throwable t)
        Specified by:
        write in class BaseLogger
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class BaseLogger
        Throws:
        java.io.IOException