public class LogFacade extends Object implements IScriptingFacade
Constructor and Description |
---|
LogFacade() |
Modifier and Type | Method and Description |
---|---|
static org.slf4j.Logger |
getLogger(String loggerName)
Gets the logger.
|
static void |
log(String loggerName,
String level,
String message,
String logArguments,
String errorJson)
Log.
|
static void |
setLevel(String loggerName,
String level)
Sets the logging level.
|
public static final org.slf4j.Logger getLogger(String loggerName)
loggerName
- the logger namepublic static final void setLevel(String loggerName, String level)
loggerName
- the logger namelevel
- the levelpublic static final void log(String loggerName, String level, String message, String logArguments, String errorJson) throws IOException
loggerName
- the logger namelevel
- the levelmessage
- the messagelogArguments
- the log argumentserrorJson
- the error jsonIOException
- Signals that an I/O exception has occurred.Copyright © 2010–2018 Eclipse Foundation. All rights reserved.