Packages

package fs

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait FileLifeCycle extends AnyRef

    The trait for File Logger life cycle event

  2. trait LocalFileLogger extends Logger with FileLifeCycle

    Trait of LocalFileLogger for all locally-saved-as-files loggers, including open, close output stream and write (checking file size to determine whether to move the log file with a timestamp-tailing new name)

  3. class LocalHtmlLogger extends LocalFileLogger

    A logger that write colorful html to files

    A logger that write colorful html to files

    <div class="log"><div class="head">【跟踪】</div><pre> - GANG-PC - 2021-08-31T23:17:14.913215700 - cn.tellyouwhat.gangsutils.logger.Logger#buildLog 第96行: prefix - abc</pre></div>
    <div class="log"><div class="head info">【信息】</div><pre> - GANG-PC - 2021-08-31T23:17:14.920216600 - cn.tellyouwhat.gangsutils.logger.Logger#buildLog 第96行: prefix - abc</pre></div>
    <div class="log"><div class="head success">【成功】</div><pre> - GANG-PC - 2021-08-31T23:17:14.921216200 - cn.tellyouwhat.gangsutils.logger.Logger#buildLog 第96行: prefix - abc</pre></div>
    <div class="log"><div class="head error">【错误】</div><pre> - GANG-PC - 2021-08-31T23:17:14.923216 - cn.tellyouwhat.gangsutils.logger.Logger#buildLog 第96行: prefix - abc</pre></div>
    <div class="log"><div class="head warning">【警告】</div><pre> - GANG-PC - 2021-08-31T23:17:14.924215600 - cn.tellyouwhat.gangsutils.logger.Logger#buildLog 第96行: prefix - abc</pre></div>
    <div class="log"><div class="head critical">【致命】</div><pre> - GANG-PC - 2021-08-31T23:17:14.926215700 - cn.tellyouwhat.gangsutils.logger.Logger#buildLog 第96行: prefix - abc</pre></div>
    

  4. class LocalPlainTextLogger extends LocalFileLogger

    A logger that write plain text to files

Value Members

  1. object LocalHtmlLogger extends LoggerCompanion

    an object of LocalHtmlLogger to set LocalHtmlLogger class using

    LocalHtmlLogger.setLogSavePath(path: String)
    LocalHtmlLogger.resetLogSavePath()
    LocalHtmlLogger.initializeConfiguration(c: LoggerConfiguration)
    LocalHtmlLogger.resetConfiguration()
    

  2. object LocalPlainTextLogger extends LoggerCompanion

    an object of LocalPlainTextLogger to set LocalPlainTextLogger class using

    LocalPlainTextLogger.setLogSavePath(path: String)
    LocalPlainTextLogger.resetLogSavePath()
    LocalPlainTextLogger.initializeConfiguration(c: LoggerConfiguration)
    LocalPlainTextLogger.resetConfiguration()
    

Ungrouped