Go to console

SilentLogger

public class SilentLogger extends Object
implements Logger

Silent logger that does nothing.

Public Constructor Summary

Public Method Summary

void
d(String tag, String text, Throwable throwable)
void
d(String tag, String text)
void
e(String tag, String text)
void
e(String tag, String text, Throwable throwable)
int
void
i(String tag, String text, Throwable throwable)
void
i(String tag, String text)
boolean
isLoggable(String tag, int level)
void
log(int priority, String tag, String msg, boolean forceLog)
void
log(int priority, String tag, String msg)
void
setLogLevel(int logLevel)
void
v(String tag, String text)
void
v(String tag, String text, Throwable throwable)
void
w(String tag, String text, Throwable throwable)
void
w(String tag, String text)

Inherited Method Summary

Public Constructors

public SilentLogger ()

Public Methods

public void d (String tag, String text, Throwable throwable)

Parameters
tag
text
throwable

public void d (String tag, String text)

Parameters
tag
text

public void e (String tag, String text)

Parameters
tag
text

public void e (String tag, String text, Throwable throwable)

Parameters
tag
text
throwable

public int getLogLevel ()

public void i (String tag, String text, Throwable throwable)

Parameters
tag
text
throwable

public void i (String tag, String text)

Parameters
tag
text

public boolean isLoggable (String tag, int level)

Parameters
tag
level

public void log (int priority, String tag, String msg, boolean forceLog)

Parameters
priority
tag
msg
forceLog

public void log (int priority, String tag, String msg)

Parameters
priority
tag
msg

public void setLogLevel (int logLevel)

Parameters
logLevel

public void v (String tag, String text)

Parameters
tag
text

public void v (String tag, String text, Throwable throwable)

Parameters
tag
text
throwable

public void w (String tag, String text, Throwable throwable)

Parameters
tag
text
throwable

public void w (String tag, String text)

Parameters
tag
text