public interface PrettyLoggable
obj
) is dispatchable with
PrettyLogger.dispatchable(obj)
if you don't know their type. If
true, you should call channels.prettyLog(obj)
to pretty log it.
Otherwise, use its toString()
method.PrettyLogger
Modifier and Type | Method and Description |
---|---|
void |
prettyLog(Redwood.RedwoodChannels channels,
java.lang.String description)
Pretty logs the current object to specific Redwood channels.
|
void prettyLog(Redwood.RedwoodChannels channels, java.lang.String description)
channels
- the channels which should be logged to -- all logging calls should
use logging methods on the channels (e.g. channels.log(), etc.)description
- The description of the object. It will potentially identify the
object's functional role or (failing that) its class. This is
typically used as a track name surrounding the contents of this
object.