public class LogConf extends Object implements Closeable
| Constructor and Description |
|---|
LogConf() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
configure(LogHandler lh,
groovy.lang.Closure fn) |
List<LogHandler> |
getLogHandlers() |
static Set<LogConf> |
instances() |
void |
javalog(groovy.lang.Closure fn) |
void |
javalog(String filename) |
Object |
level(groovy.lang.Closure fn) |
Object |
listen(Class lgrName) |
Object |
listen(Class lgrName,
groovy.lang.Closure fn) |
Object |
listen(Iterable lgrNames,
groovy.lang.Closure fn) |
Object |
listen(String lgrName) |
Object |
listen(String lgrName,
groovy.lang.Closure fn) |
void |
run() |
public List<LogHandler> getLogHandlers()
protected void configure(LogHandler lh, groovy.lang.Closure fn)
public Object level(groovy.lang.Closure fn)
public void javalog(String filename)
public void javalog(groovy.lang.Closure fn)
public void run()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019. All rights reserved.