com.beachape.logging

LTSVLoggerLike

trait LTSVLoggerLike extends AnyRef

SLF4JLogger wrapper for writing log messages to a dedicated logger in LTSV format in a performant way.

The logging methods in this trait are performant because the check-enabled-idiom is applied using macros. For example,

logger.info("message" -> s"$expensiveMessage"*)

gets expanded at compile-time to

if (logger.isDebugEnabled) logger.info(toLtsv("message" -> s"$expensiveMessage"*))
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LTSVLoggerLike
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def underlying: Logger

    The logger to write to.

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def debug[A](error: Throwable, obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  9. final def debug[A](obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object into LTSV along with any number of pairs

    Write a given Generic [A] object into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  10. final def debug(error: Throwable, pairs: (String, Any)*): Unit

    Write the given key-values and error as an LTSV debug log entry

    Write the given key-values and error as an LTSV debug log entry

    Annotations
    @macroImpl( ... ) @inline()
  11. final def debug(message: String): Unit

    Write the given message as an LTSV info debug entry.

    Write the given message as an LTSV info debug entry. Convenient, but don't over-use it, otherwise, the entire point of LTSV is lost.

    The LTSV log entry has a singular "message" key

    Annotations
    @macroImpl( ... ) @inline()
  12. final def debug(pairs: (String, Any)*): Unit

    Write the given key-values as an LTSV debug log entry

    Write the given key-values as an LTSV debug log entry

    Annotations
    @macroImpl( ... ) @inline()
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. final def error[A](error: Throwable, obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  16. final def error[A](obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object into LTSV along with any number of pairs

    Write a given Generic [A] object into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  17. final def error(error: Throwable, pairs: (String, Any)*): Unit

    Write the given key-values and error as an LTSV error log entry

    Write the given key-values and error as an LTSV error log entry

    Annotations
    @macroImpl( ... ) @inline()
  18. final def error(message: String): Unit

    Write the given message as an LTSV info error entry.

    Write the given message as an LTSV info error entry. Convenient, but don't over-use it, otherwise, the entire point of LTSV is lost.

    The LTSV log entry has a singular "message" key

    Annotations
    @macroImpl( ... ) @inline()
  19. final def error(pairs: (String, Any)*): Unit

    Write the given key-values as an LTSV error log entry

    Write the given key-values as an LTSV error log entry

    Annotations
    @macroImpl( ... ) @inline()
  20. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  23. final def info[A](error: Throwable, obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  24. final def info[A](obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object into LTSV along with any number of pairs

    Write a given Generic [A] object into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  25. final def info(error: Throwable, pairs: (String, Any)*): Unit

    Write the given key-values and error as an LTSV info log entry

    Write the given key-values and error as an LTSV info log entry

    Annotations
    @macroImpl( ... ) @inline()
  26. final def info(message: String): Unit

    Write the given message as an LTSV info log entry.

    Write the given message as an LTSV info log entry. Convenient, but don't over-use it, otherwise, the entire point of LTSV is lost.

    The LTSV log entry has a singular "message" key

    Annotations
    @macroImpl( ... ) @inline()
  27. final def info(pairs: (String, Any)*): Unit

    Write the given key-values as an LTSV info log entry

    Write the given key-values as an LTSV info log entry

    Annotations
    @macroImpl( ... ) @inline()
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toLtsv(pairs: (String, Any)*): String

    Turns a sequence of LTSV pairs into a single LTSV string.

    Turns a sequence of LTSV pairs into a single LTSV string.

    Annotations
    @inline()
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def trace[A](error: Throwable, obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  36. final def trace[A](obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object into LTSV along with any number of pairs

    Write a given Generic [A] object into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  37. final def trace(error: Throwable, pairs: (String, Any)*): Unit

    Write the given key-values and error as an LTSV trace log entry

    Write the given key-values and error as an LTSV trace log entry

    Annotations
    @macroImpl( ... ) @inline()
  38. final def trace(message: String): Unit

    Write the given message as an LTSV info trace entry.

    Write the given message as an LTSV info trace entry. Convenient, but don't over-use it, otherwise, the entire point of LTSV is lost.

    The LTSV log entry has a singular "message" key

    Annotations
    @macroImpl( ... ) @inline()
  39. final def trace(pairs: (String, Any)*): Unit

    Write the given key-values as an LTSV trace log entry

    Write the given key-values as an LTSV trace log entry

    Annotations
    @macroImpl( ... ) @inline()
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def warn[A](error: Throwable, obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Write a given Generic [A] object and error into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  44. final def warn[A](obj: A, pairs: (String, Any)*)(implicit ltsvable: LTSVable[A]): Unit

    Write a given Generic [A] object into LTSV along with any number of pairs

    Write a given Generic [A] object into LTSV along with any number of pairs

    Annotations
    @macroImpl( ... ) @inline()
  45. final def warn(error: Throwable, pairs: (String, Any)*): Unit

    Write the given key-values and error as an LTSV warn log entry

    Write the given key-values and error as an LTSV warn log entry

    Annotations
    @macroImpl( ... ) @inline()
  46. final def warn(message: String): Unit

    Write the given message as an LTSV info warn entry.

    Write the given message as an LTSV info warn entry. Convenient, but don't over-use it, otherwise, the entire point of LTSV is lost.

    The LTSV log entry has a singular "message" key

    Annotations
    @macroImpl( ... ) @inline()
  47. final def warn(pairs: (String, Any)*): Unit

    Write the given key-values as an LTSV warn log entry

    Write the given key-values as an LTSV warn log entry

    Annotations
    @macroImpl( ... ) @inline()

Inherited from AnyRef

Inherited from Any

Ungrouped