Packages

t

ai.tripl.arc.util.log.logger

JsonLogger

trait JsonLogger extends AnyRef

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

Abstract Value Members

  1. abstract def exception(key: String, exception: Exception): JsonLogger

    Add an exception to the JSON hierarchy.

    Add an exception to the JSON hierarchy. The exception will be formatted to include the message and the stacktrace similar to how it is outputted using exception.printStackTrace()

  2. abstract def field(key: String, value: Supplier[_]): JsonLogger

    Add a top level field as a lambda or supplier that is lazily evaluated only if the message is logged.

    Add a top level field as a lambda or supplier that is lazily evaluated only if the message is logged. null values will be represented as the json null primitive

  3. abstract def field(key: String, value: Any): JsonLogger

    Add a top level field.

    Add a top level field. null values will be represented as the json null primitive

  4. abstract def json(key: String, jsonElement: Supplier[JsonElement]): JsonLogger

    Add an arbitrary JsonElement object to the top level with the given key that is lazily evaluated only if the message is logged

  5. abstract def json(key: String, jsonElement: JsonElement): JsonLogger

    Add an arbitrary JsonElement object to the top level with the given key.

  6. abstract def list(key: String, list: Supplier[List[_]]): JsonLogger

    Add a list to the JSON hierarchy as a lambda or supplier that is lazily evaluated only if the message is logged

  7. abstract def list(key: String, list: List[_]): JsonLogger

    Add a list to the JSON hierarchy

  8. abstract def log(): Unit

    Log the formatted message

  9. abstract def map(key: String, map: Supplier[Map[_, _]]): JsonLogger

    Add a map to the JSON hierarchy as a lambda or supplier that is lazily evaluated only if the message is logged

  10. abstract def map(key: String, map: Map[_, _]): JsonLogger

    Add a map to the JSON hierarchy

  11. abstract def marker(marker: Marker): JsonLogger

    Set the marker to use when generating the log message.

    Set the marker to use when generating the log message.

    marker

    marker to use when generating the log message. See details in the SLF4J Logger API documents.

  12. abstract def message(message: Supplier[String]): JsonLogger

    Set top level message field as a lambda or supplier that is lazily evaluated only if the message is logged

  13. abstract def message(message: String): JsonLogger

    Set top level message field.

    Set top level message field. Convenience method for .field("message", ... )

  14. abstract def stack(): JsonLogger

    Include the stack dump of the current running thread in the log output.

    Include the stack dump of the current running thread in the log output. This data will be included in the output under the "stacktrace" key

Concrete 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( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped