Trait/Object

de.h2b.scala.lib.util

Logger

Related Docs: object Logger | package util

Permalink

trait Logger extends AnyRef

An interface for logging events.

Copyright (C) 2008, 2015 Hans-Hermann Bode

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

Abstract Value Members

  1. abstract def log(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
  2. abstract val name: String

    Permalink
    Attributes
    protected

Concrete 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

    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

    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

    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

    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

    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

    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

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. 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

    Note

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

  19. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink

    Logs a tracing message.

    Logs a tracing message.

    Elidable at level elidable.FINER.

    msg

    the message

    Annotations
    @elidable( elidable.FINER )
  25. final def wait(arg0: Long, arg1: Int): Unit

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

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

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

    Permalink

    Logs a warning message.

    Logs a warning message.

    Elidable at level elidable.WARNING.

    msg

    the message

    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 AnyRef

Inherited from Any

Ungrouped