Package | Description |
---|---|
sirius.web.crunchlog |
Modifier and Type | Method and Description |
---|---|
Crunchlog.LogBuilder |
Crunchlog.log(String event)
Creates a new builder to create a log message using fluid method calls.
|
Crunchlog.LogBuilder |
Crunchlog.LogBuilder.set(String key,
Object value)
Sets a given field and value in the log entry.
|
Crunchlog.LogBuilder |
Crunchlog.LogBuilder.withScope()
Adds the id of the current scope to the log entry.
|
Crunchlog.LogBuilder |
Crunchlog.LogBuilder.withURI(WebContext ctx)
Adds the uri of the given request.
|
Crunchlog.LogBuilder |
Crunchlog.LogBuilder.withURIAndUserAgent(WebContext ctx)
Adds the uri and the user agent of the given request.
|
Crunchlog.LogBuilder |
Crunchlog.LogBuilder.withUser()
Adds the id of the current user and tenant to the log entry.
|
Modifier and Type | Method and Description |
---|---|
void |
Crunchlog.safeLog(String event,
sirius.kernel.commons.Callback<Crunchlog.LogBuilder> log)
Implements a safe way of logging to the crunchlog.
|
Copyright © 2018. All rights reserved.