Class

de.h2b.scala.lib.util

ConsoleLogger

Related Doc: package util

Permalink

class ConsoleLogger extends Logger

Logger implementation that writes logging messages to the console.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsoleLogger
  2. Logger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConsoleLogger(id: String)

    Permalink

    id

    identifying name of this logger

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def at(lev: Level): Logger

    Permalink

    Sets the current level of this logger.

    Sets the current level of this logger.

    Since this logger itself is returned by this method, it can be used in a declaration like in the example below.

    lev

    the level

    returns

    this logger

    Definition Classes
    Logger
    Example:
    1. val logger = Logger("name") at Level.Debug

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def config(msg: ⇒ String): Unit

    Permalink

    Logs a configuration message.

    Logs a configuration message.

    Elidable at level elidable.CONFIG.

    msg

    the message

    Definition Classes
    Logger
    Annotations
    @elidable( elidable.CONFIG )
  8. def debug(msg: ⇒ String): Unit

    Permalink

    Logs a debugging message.

    Logs a debugging message.

    Elidable at level elidable.FINE.

    msg

    the message

    Definition Classes
    Logger
    Annotations
    @elidable( elidable.FINE )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(msg: ⇒ String): Unit

    Permalink

    Logs an error message.

    Logs an error message.

    Elidable at level elidable.SEVERE.

    msg

    the message

    Definition Classes
    Logger
    Annotations
    @elidable( elidable.SEVERE )
  12. def fatal(msg: ⇒ String): Unit

    Permalink

    Logs a fatal message.

    Logs a fatal message.

    Elidable at level elidable.SEVERE.

    msg

    the message

    Definition Classes
    Logger
    Annotations
    @elidable( elidable.SEVERE )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def info(msg: ⇒ String): Unit

    Permalink

    Logs an informational message.

    Logs an informational message.

    Elidable at level elidable.INFO.

    msg

    the message

    Definition Classes
    Logger
    Annotations
    @elidable( elidable.INFO )
  16. def isEnabled(lev: Level): Boolean

    Permalink

    States whether a level is enabled for this logger.

    States whether a level is enabled for this logger.

    The level specified is enabled if it is higher than or equal to the current level of this logger.

    lev

    the level

    returns

    true if lev is enabled, false if not

    Definition Classes
    Logger
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def log(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ConsoleLoggerLogger
  19. def log(lev: Level, msg: ⇒ String): Unit

    Permalink

    Logs a message provided that the particular level specified is higher than or equal to the current level of this logger.

    Logs a message provided that the particular level specified is higher than or equal to the current level of this logger.

    lev

    the level

    msg

    the message

    Definition Classes
    Logger
    Note

    In contrast to the individual logging methods like info, debug etc., this method is not elidable.

  20. val name: String

    Permalink
    Attributes
    protected
    Definition Classes
    ConsoleLoggerLogger
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    ConsoleLogger → AnyRef → Any
  26. def trace(msg: ⇒ String): Unit

    Permalink

    Logs a tracing message.

    Logs a tracing message.

    Elidable at level elidable.FINER.

    msg

    the message

    Definition Classes
    Logger
    Annotations
    @elidable( elidable.FINER )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def warn(msg: ⇒ String): Unit

    Permalink

    Logs a warning message.

    Logs a warning message.

    Elidable at level elidable.WARNING.

    msg

    the message

    Definition Classes
    Logger
    Annotations
    @elidable( elidable.WARNING )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped