| Package | Description |
|---|---|
| com.sap.pdms.commons.util.log |
Provides classes that offer logging functionality to Insight Providers.
|
| Modifier and Type | Method and Description |
|---|---|
static LogLevels |
LogLevels.mapJavaUtilLoggerLevelsToLogLevels(Level level)
Maps a Java Util log level to a PDMS log level.
|
static LogLevels |
LogLevels.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevels[] |
LogLevels.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LogWrapper.log(LogLevels uLevel,
String msg)
Logs a message with the given log level.
|
void |
LogWrapper.log(LogLevels uLevel,
String msg,
Throwable throwable)
Logs a message with the given log level and logs the stack trace of the throwable exception.
|
void |
LogWrapper.log(LogLevels uLevel,
Supplier<String> msgSupplier)
Logs a message with the given log level.
|
void |
LogWrapper.log(LogLevels uLevel,
Supplier<String> msgSupplier,
Throwable throwable)
Logs a message with the given log level and logs the stack trace of the throwable exception.
|
static Level |
LogLevels.mapLogLevelsToJavaUtilLoggerLevels(LogLevels uLevel)
Maps a PDMS log level to a Java Util log level.
|
Copyright © 2016 SAP. All Rights Reserved.