Package

wvlet

log

Permalink

package log

Visibility
  1. Public
  2. All

Type Members

  1. class AirframeLogManager extends LogManager

    Permalink

    * Custom log manager to postpone the reset of loggers This is based on the technique mentioned in: https://stackoverflow.com/questions/13825403/java-how-to-get-logger-to-work-in-shutdown-hook

  2. class AsyncHandler extends Handler with Guard with AutoCloseable with Flushable

    Permalink

    Logging using background thread

  3. class BufferedLogHandler extends Handler

    Permalink

    Handlers for storing log messages as a sequence.

    Handlers for storing log messages as a sequence. This is useful for debugging.

  4. class ConsoleLogHandler extends Handler

    Permalink

    Output log to stderr

  5. class FileHandler extends LogRotationHandler

    Permalink

    Writing logs to a file without rotation.

    Writing logs to a file without rotation. This is just an wrapper of LogRotationHandler

  6. trait Guard extends AnyRef

    Permalink

  7. trait LazyLogger extends AnyRef

    Permalink

    Trait for adding a local logger instance to your class

  8. trait LocalLogSupport extends LoggingMethods with LocalLogger

    Permalink

    Trait for adding logging methods and an initialized logger instance

  9. trait LocalLogger extends AnyRef

    Permalink

    Trait for adding an initialized logger instance to your class

  10. trait LogFormatter extends Formatter

    Permalink

    To implement your own log formatter, implement this formatLog(r: LogRecord) method

  11. sealed abstract class LogLevel extends Ordered[LogLevel] with Serializable

    Permalink
  12. case class LogLevelScannerConfig(logLevelFileCandidates: List[String], scanInterval: Duration = Duration(1, TimeUnit.MINUTES)) extends Product with Serializable

    Permalink
  13. case class LogRecord(level: LogLevel, source: Option[LogSource], message: String, cause: Option[Throwable]) extends java.util.logging.LogRecord with Product with Serializable

    Permalink
  14. class LogRotationHandler extends Handler with AutoCloseable with Flushable

    Permalink

    Log rotation handler

  15. case class LogSource(path: String, fileName: String, line: Int, col: Int) extends Product with Serializable

    Permalink

    Source code location where the log is

  16. trait LogSupport extends LoggingMethods with LazyLogger

    Permalink

    Trait for adding logging methods (error, warn, info, debug and trace) to your class

  17. class Logger extends Serializable

    Permalink

    An wrapper of java.util.logging.Logger for supporting rich-format logging

  18. trait LoggerMXBean extends AnyRef

    Permalink

  19. trait LoggingMethods extends Serializable

    Permalink
  20. trait PublicLoggingMethods extends Serializable

    Permalink

Value Members

  1. object AirframeLogManager

    Permalink
  2. object LogFormatter

    Permalink
  3. object LogLevel extends Serializable

    Permalink

    log level definitions

  4. object LogLevelScanner

    Permalink
  5. object LogRecord extends Serializable

    Permalink
  6. object LogRotationHandler

    Permalink
  7. object LogTimestampFormatter

    Permalink

  8. object Logger extends Serializable

    Permalink
  9. object LoggerJMX extends LoggerMXBean

    Permalink
  10. object NullHandler extends Handler

    Permalink

    Handlers for discarding logs

  11. package io

    Permalink

Ungrouped