wvlet.log

package wvlet.log

Members list

Concise view

Type members

Classlikes

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class AirframeLogManager extends LogManager

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

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

Attributes

Companion:
object
Graph
Supertypes
class LogManager
class Object
trait Matchable
class Any
class AsyncHandler(parent: Handler) extends Handler with Guard with AutoCloseable with Flushable

Logging using background thread

Logging using background thread

Attributes

Graph
Supertypes
trait Flushable
trait AutoCloseable
trait Guard
class Handler
class Object
trait Matchable
class Any
class BufferedLogHandler(formatter: LogFormatter) extends Handler

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

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

Attributes

Graph
Supertypes
class Handler
class Object
trait Matchable
class Any
class ConsoleLogHandler(formatter: LogFormatter, out: PrintStream) extends Handler

Output log to stderr

Output log to stderr

Attributes

Graph
Supertypes
class Handler
class Object
trait Matchable
class Any
class FileHandler(fileName: String, formatter: LogFormatter, logFileExt: String) extends LogRotationHandler

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

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

Attributes

Graph
Supertypes
trait Flushable
trait AutoCloseable
class Handler
class Object
trait Matchable
class Any
trait Guard

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Trait for adding a local logger instance to your class

Trait for adding a local logger instance to your class

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Trait for adding logging methods and an initialized logger instance

Trait for adding logging methods and an initialized logger instance

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Trait for adding an initialized logger instance to your class

Trait for adding an initialized logger instance to your class

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait LogFormatter extends Formatter

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

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

Attributes

Companion:
object
Graph
Supertypes
class Formatter
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
trait AnsiColor
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class LogLevelScannerConfig(logLevelFileCandidates: List[String], scanInterval: Duration)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object LogRecord

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class LogRecord(level: LogLevel, source: Option[LogSource], message: String, cause: Option[Throwable]) extends LogRecord

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class LogRecord
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class LogRotationHandler(fileName: String, maxNumberOfFiles: Int, maxSizeInBytes: Long, formatter: LogFormatter, logFileExt: String, tempFileExt: String) extends Handler with AutoCloseable with Flushable

Log rotation handler

Log rotation handler

Attributes

Companion:
object
Graph
Supertypes
trait Flushable
trait AutoCloseable
class Handler
class Object
trait Matchable
class Any
Known subtypes
case class LogSource(filePath: String, fileName: String, line: Int, col: Int)

Source code location where the log is

Source code location where the log is

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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

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

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class Logger(name: String, var wrapped: Logger) extends LoggerBase with Serializable

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

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

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object Logger

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Logger.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Logger
Self type
object LoggerJMX extends LoggerMXBean

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object LoggerJMX.type
trait LoggingMethods extends Serializable

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object NullHandler extends Handler

Handlers for discarding logs

Handlers for discarding logs

Attributes

Graph
Supertypes
class Handler
class Object
trait Matchable
class Any
Self type
trait PublicLoggingMethods extends Serializable

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Self type