package util
- Alphabetic
- Public
- Protected
Type Members
- abstract class AbstractEntry extends Serializable
- trait Appender extends AutoCloseable
- abstract class BasicLogger extends AbstractLogger
Implements the level-setting methods of Logger.
- class BufferedAppender extends Appender
An appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor.
An 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 Appender
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 DeprecatedJLine extends AnyRef
This exists to a provide a wrapper to TerminalBuilder.setTerminalOverride that will not emit a deprecation warning when called from scala.
- 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, LoggerContext) => 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
- sealed abstract class LogOption extends Serializable
value for logging options like color
- 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 ProgressEvent extends AbstractEntry with Serializable
used by super shell
- final class ProgressItem extends Serializable
used by super shell
- 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
- trait Terminal extends AutoCloseable
- 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 LogOption extends Serializable
- object MainAppender
- object ObjectEvent extends Serializable
- object ProgressEvent extends Serializable
- object ProgressItem extends Serializable
- object StackTrace
- object StringEvent extends Serializable
- object StringTypeTag extends Serializable
- object SuccessEvent extends Serializable
- object Terminal
- object TraceEvent extends Serializable