Package com.twilio.voice
Interface LoggerInterface
public interface LoggerInterface
The Logger interface provides a mechanism to define a custom logger. Implementing this interface
is optional. By default, the Android SDK logs to stdout using android.util.Log. Implementing this
interface allows for a customized logging experience such as logging to a file, sending the log
messages to a server, etc.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
log
(LogParameters parameters) Invoked every time a log message satisfying the log level filter is available.
-
Method Details
-
log
Invoked every time a log message satisfying the log level filter is available. If no filters are set, a default filter ofLogLevel.ERROR
is used by the SDK on all modules.- Parameters:
parameters
- ALogParameters
object that contains parameters about the log message.
-