| Package | Description |
|---|---|
| com.savoirtech.logging.slf4j.json.logger |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractJsonLogger |
class |
DebugLogger |
class |
ErrorLogger |
class |
InfoLogger |
class |
NoopLogger |
class |
TraceLogger |
class |
WarnLogger |
| Modifier and Type | Method and Description |
|---|---|
JsonLogger |
Logger.debug() |
JsonLogger |
Logger.error() |
JsonLogger |
AbstractJsonLogger.exception(String key,
Exception exception) |
JsonLogger |
NoopLogger.exception(String key,
Exception exception) |
JsonLogger |
JsonLogger.exception(String key,
Exception exception)
Add an exception to the JSON hierarchy.
|
JsonLogger |
AbstractJsonLogger.field(String key,
Object value) |
JsonLogger |
NoopLogger.field(String key,
Object value) |
JsonLogger |
JsonLogger.field(String key,
Object value)
Add a top level field.
|
JsonLogger |
AbstractJsonLogger.field(String key,
java.util.function.Supplier value) |
JsonLogger |
NoopLogger.field(String key,
java.util.function.Supplier value) |
JsonLogger |
JsonLogger.field(String key,
java.util.function.Supplier value)
Add a top level field as a lambda or supplier that is lazily evaluated only if the message is logged.
|
JsonLogger |
Logger.info() |
JsonLogger |
AbstractJsonLogger.json(String key,
com.google.gson.JsonElement jsonElement) |
JsonLogger |
NoopLogger.json(String key,
com.google.gson.JsonElement jsonElement) |
JsonLogger |
JsonLogger.json(String key,
com.google.gson.JsonElement jsonElement)
Add an arbitrary JsonElement object to the top level with the given key.
|
JsonLogger |
AbstractJsonLogger.json(String key,
java.util.function.Supplier<com.google.gson.JsonElement> jsonElement) |
JsonLogger |
NoopLogger.json(String key,
java.util.function.Supplier<com.google.gson.JsonElement> jsonElement) |
JsonLogger |
JsonLogger.json(String key,
java.util.function.Supplier<com.google.gson.JsonElement> jsonElement)
Add an arbitrary JsonElement object to the top level with the given key that is lazily evaluated only if the message is logged
|
JsonLogger |
AbstractJsonLogger.list(String key,
List list) |
JsonLogger |
NoopLogger.list(String key,
List list) |
JsonLogger |
JsonLogger.list(String key,
List list)
Add a list to the JSON hierarchy
|
JsonLogger |
AbstractJsonLogger.list(String key,
java.util.function.Supplier<List> list) |
JsonLogger |
NoopLogger.list(String key,
java.util.function.Supplier<List> list) |
JsonLogger |
JsonLogger.list(String key,
java.util.function.Supplier<List> list)
Add a list to the JSON hierarchy as a lambda or supplier that is lazily evaluated only if the message is logged
|
JsonLogger |
AbstractJsonLogger.map(String key,
Map map) |
JsonLogger |
NoopLogger.map(String key,
Map map) |
JsonLogger |
JsonLogger.map(String key,
Map map)
Add a map to the JSON hierarchy
|
JsonLogger |
AbstractJsonLogger.map(String key,
java.util.function.Supplier<Map> map) |
JsonLogger |
NoopLogger.map(String key,
java.util.function.Supplier<Map> map) |
JsonLogger |
JsonLogger.map(String key,
java.util.function.Supplier<Map> map)
Add a map to the JSON hierarchy as a lambda or supplier that is lazily evaluated only if the message is logged
|
JsonLogger |
AbstractJsonLogger.message(String message) |
JsonLogger |
NoopLogger.message(String message) |
JsonLogger |
JsonLogger.message(String message)
Set top level message field.
|
JsonLogger |
AbstractJsonLogger.message(java.util.function.Supplier<String> message) |
JsonLogger |
NoopLogger.message(java.util.function.Supplier<String> message) |
JsonLogger |
JsonLogger.message(java.util.function.Supplier<String> message)
Set top level message field as a lambda or supplier that is lazily evaluated only if the message is logged
|
JsonLogger |
AbstractJsonLogger.stack() |
JsonLogger |
NoopLogger.stack() |
JsonLogger |
JsonLogger.stack()
Include the stack dump of the current running thread in the log output.
|
JsonLogger |
Logger.trace() |
JsonLogger |
Logger.warn() |
Copyright © 2016 Savoir Technologies, Inc.. All Rights Reserved.