Package com.twilio.voice
Class Logger
java.lang.Object
com.twilio.voice.Logger
Deprecated.
DEPRECATED - Logger class is deprecated and will be removed in the next major release. To provide
a custom logger, implement the
LoggerInterface
Interface and set it using Voice.setLogger(LoggerInterface)
. The SDK will deliver all logs to this logger.
To use the SDK's default logger to log one's own messages, retrieve the default logger instance
currently being used by the SDK using Voice.getLogger()
and send logs using its LoggerInterface.log(LogParameters)
method.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.static Logger
Deprecated.static int
Deprecated.void
Deprecated.void
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.void
setLevel
(int level) Deprecated.static void
setLogLevel
(int level) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.
-
Field Details
-
INHERIT
public static final int INHERITDeprecated.- See Also:
-
-
Method Details
-
getLogger
Deprecated. -
getLogLevel
public static int getLogLevel()Deprecated. -
setLogLevel
public static void setLogLevel(int level) Deprecated. -
setLevel
public void setLevel(int level) Deprecated. -
isVerboseEnabled
public boolean isVerboseEnabled()Deprecated. -
isDebugEnabled
public boolean isDebugEnabled()Deprecated. -
isInfoEnabled
public boolean isInfoEnabled()Deprecated. -
isWarnEnabled
public boolean isWarnEnabled()Deprecated. -
isErrorEnabled
public boolean isErrorEnabled()Deprecated. -
v
Deprecated. -
v
Deprecated. -
d
Deprecated. -
d
Deprecated. -
i
Deprecated. -
i
Deprecated. -
w
Deprecated. -
w
Deprecated. -
e
Deprecated. -
e
Deprecated.
-