Package

almond

logger

Permalink

package logger

Ad-hoc logging library.

Its motivations, compared to logback and all, are two-fold: - easier to adjust its configuration programmatically (e.g. from command-line options), without tangling with Java properties, etc. - easier to have it log to a given java.io.PrintStream: when user code is running in the Scala kernel, System.out and all are set to ad hoc java.io.PrintStream instances, that capture the user code output. If the logging framework also sends its logs there, these appear in the notebook, which is not what we want (we'd like the logs to still go in the console). With this logging library, we can initially fix the java.io.PrintStream, so that logs are indeed always sent to the console.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. logger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Level extends Product with Serializable with Ordered[Level]

    Permalink
  2. final case class Logger extends Product with Serializable

    Permalink
  3. trait LoggerContext extends AnyRef

    Permalink

Value Members

  1. object Level extends Serializable

    Permalink
  2. object Logger extends Serializable

    Permalink
  3. object LoggerContext

    Permalink
  4. package internal

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped