public class BndLog extends Object implements org.apache.felix.scrplugin.Log
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close log file.
|
void |
debug(String content) |
void |
debug(String content,
Throwable error) |
void |
debug(Throwable error) |
void |
error(String content) |
void |
error(String content,
String location,
int lineNumber) |
void |
error(String content,
String location,
int lineNumber,
int columnNumber) |
void |
error(String content,
Throwable error) |
void |
error(Throwable error) |
void |
info(String content) |
void |
info(String content,
Throwable error) |
void |
info(Throwable error) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
setLevel(String level)
Sets the enabled log level.
|
void |
warn(String content) |
void |
warn(String content,
String location,
int lineNumber) |
void |
warn(String content,
String location,
int lineNumber,
int columNumber) |
void |
warn(String content,
Throwable error) |
void |
warn(Throwable error) |
public void close()
public void setLevel(String level)
level - the enabled level ("Error", "Warn", "Info", or "Debug")public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.felix.scrplugin.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.felix.scrplugin.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.felix.scrplugin.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.felix.scrplugin.Logpublic void debug(String content)
debug in interface org.apache.felix.scrplugin.Logpublic void debug(String content, Throwable error)
debug in interface org.apache.felix.scrplugin.Logpublic void debug(Throwable error)
debug in interface org.apache.felix.scrplugin.Logpublic void info(String content)
info in interface org.apache.felix.scrplugin.Logpublic void info(String content, Throwable error)
info in interface org.apache.felix.scrplugin.Logpublic void info(Throwable error)
info in interface org.apache.felix.scrplugin.Logpublic void warn(String content)
warn in interface org.apache.felix.scrplugin.Logpublic void warn(String content, Throwable error)
warn in interface org.apache.felix.scrplugin.Logpublic void warn(Throwable error)
warn in interface org.apache.felix.scrplugin.Logpublic void warn(String content, String location, int lineNumber)
warn in interface org.apache.felix.scrplugin.Logpublic void warn(String content, String location, int lineNumber, int columNumber)
warn in interface org.apache.felix.scrplugin.Logpublic void error(String content)
error in interface org.apache.felix.scrplugin.Logpublic void error(String content, Throwable error)
error in interface org.apache.felix.scrplugin.Logpublic void error(Throwable error)
error in interface org.apache.felix.scrplugin.Logpublic void error(String content, String location, int lineNumber)
error in interface org.apache.felix.scrplugin.LogCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.