package util
- Alphabetic
- Public
- All
Type Members
- abstract class AbstractEntry extends Serializable
-
abstract
class
BasicLogger
extends AbstractLogger
Implements the level-setting methods of Logger.
-
class
BufferedAppender
extends AbstractAppender
Am appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor.
Am appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor. Use 'record()' to start buffering and then 'play' to flush the buffer to the backing appender. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.
-
class
BufferedLogger
extends BasicLogger
A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor.
A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor. Use 'startRecording' to start buffering and then 'play' from to flush the buffer to the backing logger. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.
This class assumes that it is the only client of the delegate logger.
-
class
ConsoleAppender
extends AbstractAppender
A logger that logs to the console.
A logger that logs to the console. On supported systems, the level labels are colored.
This logger is not thread-safe.
-
class
ConsoleLogger
extends BasicLogger
A logger that logs to the console.
A logger that logs to the console. On supported systems, the level labels are colored.
- sealed trait ConsoleOut extends AnyRef
-
class
FilterLogger
extends BasicLogger
A filter logger is used to delegate messages but not the logging level to another logger.
A filter logger is used to delegate messages but not the logging level to another logger. This means that messages are logged at the higher of the two levels set by this logger and its delegate.
-
class
FullLogger
extends BasicLogger
Promotes the simple Logger interface to the full AbstractLogger interface.
-
final
case class
GlobalLogBacking
(file: File, last: Option[File], newBackingFile: () ⇒ File) extends Product with Serializable
Tracks the files that persist the global logging.
Tracks the files that persist the global logging.
file
is the current backing file.last
is the previous backing file, if there is one.newBackingFile
creates a new temporary location for the next backing file. -
final
case class
GlobalLogging
(full: ManagedLogger, console: ConsoleOut, backed: Appender, backing: GlobalLogBacking, newAppender: (ManagedLogger, PrintWriter, GlobalLogBacking) ⇒ GlobalLogging) extends Product with Serializable
Provides the current global logging configuration.
Provides the current global logging configuration.
full
is the current global logger. It should not be set directly because it is generated as needed frombacking.newLogger
.console
is where all logging from all ConsoleLoggers should go.backed
is the Logger that other loggers should feed into.backing
tracks the files that persist the global logging.newLogger
creates a new global logging configuration from a sink and backing configuration. - final case class GlobalLogging1 (full: Logger, console: ConsoleOut, backed: AbstractLogger, backing: GlobalLogBacking, newLogger: (PrintWriter, GlobalLogBacking) ⇒ GlobalLogging1) extends Product with Serializable
-
class
LoggerWriter
extends Writer
Provides a
java.io.Writer
interface to aLogger
.Provides a
java.io.Writer
interface to aLogger
. Content is line-buffered and logged atlevel
. A line is delimited bynl
, which is by default the platform line separator. -
class
ManagedLogger
extends Logger
Delegates log events to the associated LogExchange.
- class MultiLogger extends BasicLogger
- final class ObjectEvent [A] extends Serializable
- final class StringEvent extends AbstractEntry with Serializable
-
final
case class
StringTypeTag
[A](key: String) extends Product with Serializable
This is used to carry type information in JSON.
- final class SuccessEvent extends Serializable
- final class SuppressedTraceContext extends AnyRef
- final class TraceEvent extends AbstractEntry with Serializable
Value Members
- object AbstractEntry extends Serializable
- object BufferedAppender
- object ConsoleAppender
- object ConsoleLogger
- object ConsoleOut
- object EscHelpers
- object FullLogger
- object GlobalLogBacking extends Serializable
- object GlobalLogging extends Serializable
- object MainAppender
- object ObjectEvent extends Serializable
- object StackTrace
- object StringEvent extends Serializable
- object StringTypeTag extends Serializable
- object SuccessEvent extends Serializable
- object TraceEvent extends Serializable