public class PrettyLogger extends Object
PrettyLoggable
Modifier and Type | Method and Description |
---|---|
static boolean |
dispatchable(Object obj)
Returns true if an object has special logic for pretty logging (e.g.
|
static void |
log(Object obj)
Pretty log an object.
|
static void |
log(Redwood.RedwoodChannels channels,
Object obj)
Pretty log an object.
|
static <T> void |
log(Redwood.RedwoodChannels channels,
String description,
Object obj)
Pretty log an object.
|
static void |
log(String description,
Object obj)
Pretty log an object along with its description.
|
public static void log(Object obj)
obj
- the object to be pretty loggedpublic static void log(String description, Object obj)
description
- denote the object in the logs (via a track name, etc.).obj
- the object to be pretty loggedpublic static void log(Redwood.RedwoodChannels channels, Object obj)
channels
- the channels to pretty log toobj
- the object to be pretty loggedpublic static <T> void log(Redwood.RedwoodChannels channels, String description, Object obj)
channels
- the channels to pretty log todescription
- denote the object in the logs (via a track name, etc.).obj
- the object to be pretty loggedpublic static boolean dispatchable(Object obj)
obj
- The object to test