Package com.microsoft.graph.logger
Interface ILogger
- All Known Implementing Classes:
DefaultLogger
public interface ILogger
The logger for the service client
-
Method Summary
Modifier and TypeMethodDescriptionGets the logging level of this loggervoidLog a debug messagevoidLog an error message with throwablevoidsetLoggingLevel(LoggerLevel level) Sets the logging level of this logger
-
Method Details
-
setLoggingLevel
Sets the logging level of this logger- Parameters:
level- the level to log at
-
getLoggingLevel
Gets the logging level of this logger- Returns:
- the level the logger is set to
-
logDebug
Log a debug message- Parameters:
message- the message
-
logError
Log an error message with throwable- Parameters:
message- the messagethrowable- the throwable
-