Package com.twilio.voice
Class Logger
- java.lang.Object
-
- com.twilio.voice.Logger
-
public final class Logger extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
INHERIT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
d(java.lang.String msg)
void
d(java.lang.String msg, java.lang.Throwable t)
void
e(java.lang.String msg)
void
e(java.lang.String msg, java.lang.Throwable t)
static Logger
getLogger(java.lang.Class<?> cls)
static int
getLogLevel()
void
i(java.lang.String msg)
void
i(java.lang.String msg, java.lang.Throwable t)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isVerboseEnabled()
boolean
isWarnEnabled()
void
setLevel(int level)
static void
setLogLevel(int level)
void
v(java.lang.String msg)
void
v(java.lang.String msg, java.lang.Throwable t)
void
w(java.lang.String msg)
void
w(java.lang.String msg, java.lang.Throwable t)
-
-
-
Field Detail
-
INHERIT
public static final int INHERIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogger
public static Logger getLogger(java.lang.Class<?> cls)
-
getLogLevel
public static int getLogLevel()
-
setLogLevel
public static void setLogLevel(int level)
-
setLevel
public void setLevel(int level)
-
isVerboseEnabled
public boolean isVerboseEnabled()
-
isDebugEnabled
public boolean isDebugEnabled()
-
isInfoEnabled
public boolean isInfoEnabled()
-
isWarnEnabled
public boolean isWarnEnabled()
-
isErrorEnabled
public boolean isErrorEnabled()
-
v
public void v(java.lang.String msg, java.lang.Throwable t)
-
v
public void v(java.lang.String msg)
-
d
public void d(java.lang.String msg, java.lang.Throwable t)
-
d
public void d(java.lang.String msg)
-
i
public void i(java.lang.String msg, java.lang.Throwable t)
-
i
public void i(java.lang.String msg)
-
w
public void w(java.lang.String msg, java.lang.Throwable t)
-
w
public void w(java.lang.String msg)
-
e
public void e(java.lang.String msg, java.lang.Throwable t)
-
e
public void e(java.lang.String msg)
-
-