wvlet.log

package wvlet.log

Members list

Concise view

Type members

Classlikes

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 JSConsoleLogHandler(logColorPalette: JSLogColorPalette) extends Handler

Attributes

Companion:
object
Graph
Supertypes
class Handler
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object JSLogger

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

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
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
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

Use scalajs.js.Date to foramte timestamp

Use scalajs.js.Date to foramte timestamp

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
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