PartnerLog Class
- java.
lang. Object - com.
microsoft. store. partnercenter. logging. PartnerLog
- com.
Implements
public class PartnerLog implements ILogger
Use this class for logging messages. This class supports pluggable loggers.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Partner |
getInstance()
Gets the singleton log manager instance. |
| java.util.List<ILogger> |
getLoggers()
Gets the registered loggers collection. |
| void |
logError(String message)
Logs an error. |
| void |
logInformation(String message)
Logs a piece of information. |
| void |
logWarning(String message)
Logs a warning. |
Inherited Members
Method Details
getInstance
public static PartnerLog getInstance()
Gets the singleton log manager instance.
Returns:
getLoggers
public List
Gets the registered loggers collection. You can add your custom loggers here.
Returns:
logError
public void logError(String message)
Logs an error.
Parameters:
logInformation
public void logInformation(String message)
Logs a piece of information.
Parameters:
logWarning
public void logWarning(String message)
Logs a warning.
Parameters: