public class DefaultNutsLogger extends Object implements net.thevpc.nuts.NutsLogger
| Constructor and Description |
|---|
DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
Class log) |
DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
Class log,
boolean suspended) |
DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
Logger log) |
DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
String log) |
| Modifier and Type | Method and Description |
|---|---|
Filter |
getFilter() |
net.thevpc.nuts.NutsSession |
getSession() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
boolean |
isLoggable(Level level) |
void |
log(Level level,
net.thevpc.nuts.NutsLogVerb verb,
net.thevpc.nuts.NutsMessage msg,
Throwable thrown) |
void |
log(LogRecord record) |
void |
log(net.thevpc.nuts.NutsSession session,
Level level,
net.thevpc.nuts.NutsLogVerb verb,
net.thevpc.nuts.NutsMessage msg,
Throwable thrown) |
void |
log(net.thevpc.nuts.NutsSession session,
Level level,
net.thevpc.nuts.NutsLogVerb verb,
Supplier<net.thevpc.nuts.NutsMessage> msgSupplier,
Supplier<Throwable> errorSupplier) |
void |
resumeTerminal(net.thevpc.nuts.NutsSession session) |
void |
suspendTerminal() |
net.thevpc.nuts.NutsLoggerOp |
with() |
public DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
Class log,
boolean suspended)
public DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
Class log)
public DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
String log)
public DefaultNutsLogger(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsSession session,
Logger log)
public net.thevpc.nuts.NutsWorkspace getWorkspace()
public net.thevpc.nuts.NutsSession getSession()
public Filter getFilter()
public boolean isLoggable(Level level)
isLoggable in interface net.thevpc.nuts.NutsLoggerpublic void log(Level level, net.thevpc.nuts.NutsLogVerb verb, net.thevpc.nuts.NutsMessage msg, Throwable thrown)
public void log(net.thevpc.nuts.NutsSession session,
Level level,
net.thevpc.nuts.NutsLogVerb verb,
net.thevpc.nuts.NutsMessage msg,
Throwable thrown)
log in interface net.thevpc.nuts.NutsLoggerpublic void log(net.thevpc.nuts.NutsSession session,
Level level,
net.thevpc.nuts.NutsLogVerb verb,
Supplier<net.thevpc.nuts.NutsMessage> msgSupplier,
Supplier<Throwable> errorSupplier)
log in interface net.thevpc.nuts.NutsLoggerpublic net.thevpc.nuts.NutsLoggerOp with()
with in interface net.thevpc.nuts.NutsLoggerpublic void log(LogRecord record)
log in interface net.thevpc.nuts.NutsLoggerpublic void suspendTerminal()
public void resumeTerminal(net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.