Packages

class LocalPlainTextLogger extends LocalFileLogger

A logger that write plain text to files

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalPlainTextLogger
  2. LocalFileLogger
  3. FileLifeCycle
  4. Logger
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalPlainTextLogger()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildLog(msg: String, level: LogLevel.Value): OneLog

    构建日志文本

    构建日志文本

    msg

    日志内容

    Attributes
    protected
    Definition Classes
    Logger
  6. def checkPrerequisite(): Unit

    check prerequisite before perform the real log action

    check prerequisite before perform the real log action

    Attributes
    protected
    Definition Classes
    LocalFileLoggerLogger
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def closeOutputStream(): Unit

    close the underlying output stream if optionOS is not None

    close the underlying output stream if optionOS is not None

    Definition Classes
    LocalFileLogger
  9. def critical(msg: Any, throwable: Throwable = null): Boolean

    记录一条致命级别的日志

    记录一条致命级别的日志

    msg

    日志内容

    Definition Classes
    Logger
  10. def doTheLogAction(msg: String, level: LogLevel.Value): Boolean

    真正去输出一条日志

    真正去输出一条日志

    msg

    日志内容

    level

    日志级别

    Attributes
    protected
    Definition Classes
    LocalFileLoggerLogger
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def error(msg: Any): Boolean

    记录一条错误级别的日志

    记录一条错误级别的日志

    msg

    日志内容

    Definition Classes
    Logger
  14. def fileLog(msg: String, level: LogLevel.Value): Boolean

    the action to perform logging to file

    the action to perform logging to file

    msg

    the log message

    level

    the log level

    Attributes
    protected
    Definition Classes
    LocalPlainTextLoggerLocalFileLogger
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. lazy val hostname: String

    lazy value of hostname

    lazy value of hostname

    Definition Classes
    Logger
  18. def info(msg: Any): Boolean

    记录一条信息级别的日志

    记录一条信息级别的日志

    msg

    日志内容

    Definition Classes
    Logger
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def log(msg: Any, level: LogLevel.Value): Boolean

    通过参数指定级别的日志

    通过参数指定级别的日志

    msg

    日志内容

    level

    日志级别

    Definition Classes
    Logger
  21. val loggerConfig: LoggerConfiguration

    LoggerConfiguration for the logger to stylish the log

    LoggerConfiguration for the logger to stylish the log

    Definition Classes
    LocalPlainTextLoggerLogger
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def onEOF(os: OutputStream): Unit

    hook end of file.

    hook end of file. you can do something when file ends, like appending some text

    os

    output stream

    Definition Classes
    LocalPlainTextLoggerFileLifeCycle
  26. def onSOF(os: OutputStream): Unit

    hook start of file.

    hook start of file. you can do something when file start, like appending some text

    os

    output stream

    Definition Classes
    LocalPlainTextLoggerFileLifeCycle
  27. def success(msg: Any): Boolean

    记录一条成功级别的日志

    记录一条成功级别的日志

    msg

    日志内容

    Definition Classes
    Logger
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def trace(msg: Any): Boolean

    记录一条跟踪级别的日志

    记录一条跟踪级别的日志

    msg

    日志内容

    Definition Classes
    Logger
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def warning(msg: Any): Boolean

    记录一条警告级别的日志

    记录一条警告级别的日志

    msg

    日志内容

    Definition Classes
    Logger
  35. def writeBytes(logBytes: Array[Byte]): Boolean

    write byte array to the file

    write byte array to the file

    logBytes

    the byte array which is encoded using UTF-8

    returns

    always true unless an exception was thrown

    Attributes
    protected
    Definition Classes
    LocalFileLogger
  36. def writeString(s: String): Boolean

    write a string to the file

    write a string to the file

    s

    string

    returns

    always true unless an exception was thrown

    Attributes
    protected
    Definition Classes
    LocalFileLogger

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from LocalFileLogger

Inherited from FileLifeCycle

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped