Packages

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]) @IntrinsicCandidate() @native()
  6. def clue[T](message: => String, logNonFatalThrowable: Boolean = false)(run: => T)(implicit loggingContext: ErrorLoggingContext): T

    Log the time taken by a task run and optionally non-fatal throwable

  7. def clueF[T](message: => String, logNonFatalThrowable: Boolean = false)(run: => Future[T])(implicit loggingContext: ErrorLoggingContext, ec: ExecutionContext): Future[T]

    Log the time taken by a task run and optionally non-fatal throwable

  8. def clueUSF[T](message: => String, logNonFatalThrowable: Boolean = false)(run: => FutureUnlessShutdown[T])(implicit loggingContext: ErrorLoggingContext, ec: ExecutionContext): FutureUnlessShutdown[T]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. 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.

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

    Log a message with a throwable at a given level.

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

    Round a duration such that humans can easier grasp the numbers

    Round a duration such that humans can easier grasp 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 non-zeros.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. 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

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped