Class

org.senkbeil.sitegen.Logger

Session

Related Doc: package Logger

Permalink

class Session extends Logger

Represents a logger session, used to

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

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. lazy val AbbreviatedClassName: String

    Permalink

    Represents an abbreviated fully-qualified class name.

    Represents an abbreviated fully-qualified class name.

    Definition Classes
    Logger
    Example:
    1. org.senkbeil.sitegen.Logger => o.s.d.Logger

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. val err: PrintStream

    Permalink

    The error stream to use for logging

    The error stream to use for logging

    Definition Classes
    Logger
  10. def error(throwable: Throwable): Unit

    Permalink

    Logs the throwable to standard err.

    Logs the throwable to standard err.

    throwable

    The throwable to log

    Definition Classes
    Logger
  11. def error(text: String, throwable: Throwable): Unit

    Permalink

    Logs the throwable to standard err.

    Logs the throwable to standard err.

    text

    The text to log before the throwable

    throwable

    The throwable to log

    Definition Classes
    Logger
  12. def error(text: String): Unit

    Permalink

    Logs the text content to standard err.

    Logs the text content to standard err.

    text

    The text to log

    Definition Classes
    Logger
  13. def fatal(throwable: Throwable): Unit

    Permalink

    Logs the throwable to standard err.

    Logs the throwable to standard err.

    throwable

    The throwable to log

    Definition Classes
    Logger
  14. def fatal(text: String, throwable: Throwable): Unit

    Permalink

    Logs the throwable to standard err.

    Logs the throwable to standard err.

    text

    The text to log before the throwable

    throwable

    The throwable to log

    Definition Classes
    Logger
  15. def fatal(text: String): Unit

    Permalink

    Logs the text content to standard err.

    Logs the text content to standard err.

    text

    The text to log

    Definition Classes
    Logger
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def info(text: String): Unit

    Permalink

    Logs the text content to standard out.

    Logs the text content to standard out.

    text

    The text to log

    Definition Classes
    Logger
  20. def init(level: Level = Level.Info): Session

    Permalink

    Initializes the session.

    Initializes the session.

    level

    The level to use when logging the init message

    returns

    The initialized logger

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val level: Level

    Permalink
    Definition Classes
    SessionLogger
  23. def log(printWriter: PrintWriter, text: String): Unit

    Permalink

    Logs the text content.

    Logs the text content.

    printWriter

    The writer to use when logging

    text

    The text to log

    Attributes
    protected
    Definition Classes
    SessionLogger
  24. def log(text: String): Unit

    Permalink

    Logs the text content to standard out.

    Logs the text content to standard out.

    text

    The text to log

    Definition Classes
    Logger
  25. def log(level: Level, text: String): Unit

    Permalink

    Logs the text content if the provided level is equal to or higher than the logger's level.

    Logs the text content if the provided level is equal to or higher than the logger's level.

    E.g. Providing a level of WARN when the logger has a level of INFO would log while a providing a level of VERBOSE would not log.

    level

    The level to associate with this log operation

    text

    The text to log

    Definition Classes
    Logger
  26. val name: String

    Permalink

    The name associated with the session

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

    Permalink
    Definition Classes
    AnyRef
  28. def newSession(name: String): Session

    Permalink

    Starts a new logger session with the specified name.

    Starts a new logger session with the specified name.

    name

    The name to associate with the logger session

    returns

    The new session instance

    Definition Classes
    Logger
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. val out: PrintStream

    Permalink

    The output stream to use for logging

    The output stream to use for logging

    Definition Classes
    Logger
  32. def pickWriter(level: Level): PrintWriter

    Permalink

    Returns a writer to use when logging based on the given log level.

    Returns a writer to use when logging based on the given log level.

    level

    The log level to use to decide the writer

    returns

    The picked writer instance

    Attributes
    protected
    Definition Classes
    Logger
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def time[T](level: Level, prefix: String = "Took ")(code: ⇒ T): T

    Permalink

    Runs the block of code, logging the time and reporting it before returning the result of the code execution (including thrown errors).

    Runs the block of code, logging the time and reporting it before returning the result of the code execution (including thrown errors).

    T

    The return type of the block of code

    level

    The level to use when logging

    prefix

    The string to prefix before the logged time and unit

    code

    The block of code to execute

    returns

    The result of executing the block of code

    Definition Classes
    Logger
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def trace(text: String): Unit

    Permalink

    Logs the text content to standard out.

    Logs the text content to standard out.

    text

    The text to log

    Definition Classes
    Logger
  37. def verbose(text: String): Unit

    Permalink

    Logs the text content to standard out.

    Logs the text content to standard out.

    text

    The text to log

    Definition Classes
    Logger
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def warn(text: String): Unit

    Permalink

    Logs the text content to standard err.

    Logs the text content to standard err.

    text

    The text to log

    Definition Classes
    Logger

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped