Packages

c

ai.tripl.arc.util.log.logger

StandardJsonLogger

class StandardJsonLogger extends JsonLogger

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

Instance Constructors

  1. new StandardJsonLogger(slf4jLogger: org.slf4j.Logger, formatter: FastDateFormat, gson: Gson, levelName: String, logOperation: Consumer[String], logWithMarkerOperation: BiConsumer[Marker, String])

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. 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()

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  9. 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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  10. 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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  11. def formatMessage(level: String): String
    Attributes
    protected[logger]
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def isIncludeClassName(): Boolean
  15. def isIncludeLoggerName(): Boolean
  16. def isIncludeThreadName(): Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. 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

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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  19. def json(key: String, jsonElement: JsonElement): JsonLogger

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

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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  20. 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

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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  21. def list(key: String, list: List): JsonLogger

    Add a list to the JSON hierarchy

    Add a list to the JSON hierarchy

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  22. def log(): Unit

    Log the formatted message

    Log the formatted message

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  23. 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

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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  24. def map(key: String, map: Map): JsonLogger

    Add a map to the JSON hierarchy

    Add a map to the JSON hierarchy

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  25. 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.

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  26. 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

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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  27. def message(message: String): JsonLogger

    Set top level message field.

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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def setIncludeClassName(includeClassName: Boolean): Unit
  32. def setIncludeLoggerName(includeLoggerName: Boolean): Unit
  33. def setIncludeThreadName(includeThreadName: Boolean): Unit
  34. 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

    Definition Classes
    StandardJsonLoggerJsonLogger
    Annotations
    @Override()
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. 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 JsonLogger

Inherited from AnyRef

Inherited from Any

Ungrouped