public class DefaultNLogModel extends Object
| Constructor and Description |
|---|
DefaultNLogModel(net.thevpc.nuts.core.NWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(Handler handler) |
<T> T |
callWithContext(net.thevpc.nuts.log.NLogScope context,
net.thevpc.nuts.concurrent.NCallable<T> callable) |
net.thevpc.nuts.log.NLog |
createCustomLogger(String name,
net.thevpc.nuts.log.NLogSPI spi) |
net.thevpc.nuts.log.NLogScope |
getContext() |
net.thevpc.nuts.log.NLogFactorySPI |
getFactorySPI() |
net.thevpc.nuts.log.NLogSPI |
getFileHandler() |
Level |
getFileLevel() |
List<Handler> |
getHandlers() |
net.thevpc.nuts.log.NLog |
getLogger(Logger logger) |
net.thevpc.nuts.log.NLog |
getLogger(String name) |
net.thevpc.nuts.log.NLog |
getNullLogger() |
NLogConsoleHandler |
getTermHandler() |
Level |
getTermLevel() |
net.thevpc.nuts.core.NWorkspace |
getWorkspace() |
void |
init(net.thevpc.nuts.core.NBootOptions effOptions,
net.thevpc.nuts.core.NBootOptions userOptions) |
void |
removeHandler(Handler handler) |
void |
runWithContext(net.thevpc.nuts.log.NLogScope context,
Runnable runnable) |
DefaultNLogModel |
setFactorySPI(net.thevpc.nuts.log.NLogFactorySPI factorySPI) |
void |
setFileLevel(Level level) |
void |
setTermLevel(Level level) |
public void init(net.thevpc.nuts.core.NBootOptions effOptions,
net.thevpc.nuts.core.NBootOptions userOptions)
public void runWithContext(net.thevpc.nuts.log.NLogScope context,
Runnable runnable)
public <T> T callWithContext(net.thevpc.nuts.log.NLogScope context,
net.thevpc.nuts.concurrent.NCallable<T> callable)
public net.thevpc.nuts.log.NLogScope getContext()
public net.thevpc.nuts.log.NLogFactorySPI getFactorySPI()
public DefaultNLogModel setFactorySPI(net.thevpc.nuts.log.NLogFactorySPI factorySPI)
public void removeHandler(Handler handler)
public void addHandler(Handler handler)
public NLogConsoleHandler getTermHandler()
public net.thevpc.nuts.log.NLogSPI getFileHandler()
public net.thevpc.nuts.log.NLog getNullLogger()
public net.thevpc.nuts.log.NLog getLogger(String name)
public net.thevpc.nuts.log.NLog getLogger(Logger logger)
public net.thevpc.nuts.log.NLog createCustomLogger(String name, net.thevpc.nuts.log.NLogSPI spi)
public Level getTermLevel()
public void setTermLevel(Level level)
public Level getFileLevel()
public void setFileLevel(Level level)
public net.thevpc.nuts.core.NWorkspace getWorkspace()
Copyright © 2026 vpc open source initiative. All rights reserved.