public class EOS_Logging_Interface
extends java.lang.Object
| Constructor and Description |
|---|
EOS_Logging_Interface() |
| Modifier and Type | Method and Description |
|---|---|
static EOS_EResult |
setCallback(EOS_LogMessageFunc callback)
Set the callback function to use for SDK log messages.
|
static EOS_EResult |
setLogLevel(EOS_ELogCategory logCategory,
EOS_ELogLevel logLevel)
Set the logging level for the specified logging category.
|
public static EOS_EResult setLogLevel(EOS_ELogCategory logCategory, EOS_ELogLevel logLevel)
logCategory - the specific log category to configure. Use EOS_LC_ALL_CATEGORIES to configure all categories simultaneously to the same log level.logLevel - the log level to use for the log categoryEOS_EResult.EOS_Success is returned if the log levels are now in use.EOS_EResult.EOS_NotConfigured is returned if the SDK has not yet been initialized, or if it has been shut down.public static EOS_EResult setCallback(EOS_LogMessageFunc callback)
callback - the function to call when the SDK logs messagesEOS_EResult.EOS_Success is returned if the callback will be used for future log messages.EOS_EResult.EOS_NotConfigured is returned if the SDK has not yet been initialized, or if it has been shut downEOSLibrary.EOS_Initialize(EOS_InitializeOptions)