public class LogglyTree
extends timber.log.Timber.HollowTree
implements timber.log.Timber.TaggedTree
| Constructor and Description |
|---|
LogglyTree(String token)
|
| Modifier and Type | Method and Description |
|---|---|
void |
d(String message,
Object... args)
Logs a message with
DEBUG severity |
void |
d(Throwable t,
String message,
Object... args)
Logs a message and an associated throwable with
DEBUG severity |
void |
e(String message,
Object... args)
Logs a message with
ERROR severity |
void |
e(Throwable t,
String message,
Object... args)
Logs a message and an associated throwable with
ERROR severity |
void |
i(String message,
Object... args)
Logs a message with
INFO severity |
void |
i(Throwable t,
String message,
Object... args)
Logs a message and an associated throwable with
INFO severity |
void |
tag(String tag)
Sets the Loggly tag for all logs going forward.
|
void |
w(String message,
Object... args)
Logs a message with
WARN severity |
void |
w(Throwable t,
String message,
Object... args)
Logs a message and an associated throwable with
WARN severity |
public LogglyTree(String token)
token - Loggly token from https://www.loggly.com/docs/customer-token-authentication-token/public void d(String message, Object... args)
DEBUG severityd in interface timber.log.Timber.Treed in class timber.log.Timber.HollowTreemessage - message to be loggedargs - message formatting argumentspublic void d(Throwable t, String message, Object... args)
DEBUG severityd in interface timber.log.Timber.Treed in class timber.log.Timber.HollowTreet - throwable to be loggedmessage - message to be loggedargs - message formatting argumentspublic void i(String message, Object... args)
INFO severityi in interface timber.log.Timber.Treei in class timber.log.Timber.HollowTreemessage - message to be loggedargs - message formatting argumentspublic void i(Throwable t, String message, Object... args)
INFO severityi in interface timber.log.Timber.Treei in class timber.log.Timber.HollowTreet - throwable to be loggedmessage - message to be loggedargs - message formatting argumentspublic void e(String message, Object... args)
ERROR severitye in interface timber.log.Timber.Treee in class timber.log.Timber.HollowTreemessage - message to be loggedargs - message formatting argumentspublic void e(Throwable t, String message, Object... args)
ERROR severitye in interface timber.log.Timber.Treee in class timber.log.Timber.HollowTreet - throwable to be loggedmessage - message to be loggedargs - message formatting argumentspublic void w(String message, Object... args)
WARN severityw in interface timber.log.Timber.Treew in class timber.log.Timber.HollowTreemessage - message to be loggedargs - message formatting argumentspublic void w(Throwable t, String message, Object... args)
WARN severityw in interface timber.log.Timber.Treew in class timber.log.Timber.HollowTreet - throwable to be loggedmessage - message to be loggedargs - message formatting argumentspublic final void tag(String tag)
Timber.TaggedTree in that it's not a one-shot
tag.tag in interface timber.log.Timber.TaggedTreetag - desired tag or CSV of multiple tags; use empty string
to clear tagsCopyright © 2015. All rights reserved.