object LoggerUtil

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def clue[T](message: => String)(run: => T)(implicit loggingContext: ErrorLoggingContext): T

    Log the time taken by a task run

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def logAtLevel(level: Level, message: => String)(implicit loggingContext: ErrorLoggingContext): Unit

    Log a message at a given level.

    Log a message at a given level.

    message

    The message to be logged. Call-by-name so that the message is computed only if the message is really logged.

  13. def logOnThrow[T](task: => T)(implicit loggingContext: ErrorLoggingContext): T
  14. def logOnThrow_(task: => Unit)(implicit loggingContext: ErrorLoggingContext): Unit
  15. def logThrowableAtLevel(level: Level, message: => String, throwable: => Throwable)(implicit loggingContext: ErrorLoggingContext): Unit

    Log a message with a throwable at a given level.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def roundDurationForHumans(duration: Duration, keep: Int = 2): Duration

    Round a duration such that humans can easier graps the numbers

    Round a duration such that humans can easier graps the numbers

    Duration offers a method .toCoarsest that will figure out the coarsest time unit. However, this method doesn't really do anything if we have nanoseconds as it only truncates 0.

    Therefore, this method allows to set lower digits to 0 and only keep the leading digits as nonzeros.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def truncateString(maxLines: Int, maxSize: Int)(str: String): String

    truncates a string

    truncates a string

    maxLines

    truncate after observing the given number of newline characters

    maxSize

    truncate after observing the given number of characters

  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped