public abstract class LogContext extends Object
Commands.time(net.java.trueupdate.manager.spec.cmd.Command, net.java.trueupdate.manager.spec.cmd.LogContext)| Modifier and Type | Class and Description |
|---|---|
static class |
LogContext.Method |
| Constructor and Description |
|---|
LogContext() |
| Modifier and Type | Method and Description |
|---|---|
protected Level |
failedLevel(LogContext.Method method) |
protected abstract String |
failedMessage(LogContext.Method method) |
void |
logFailed(LogContext.Method method,
long durationMillis) |
protected abstract Logger |
logger() |
void |
logStarting(LogContext.Method method) |
void |
logSucceeded(LogContext.Method method,
long durationMillis) |
protected Object[] |
params(LogContext.Method method,
boolean succeeded,
long durationMillis) |
protected Level |
startingLevel(LogContext.Method method) |
protected abstract String |
startingMessage(LogContext.Method method) |
protected Level |
succeededLevel(LogContext.Method method) |
protected abstract String |
succeededMessage(LogContext.Method method) |
protected Level failedLevel(LogContext.Method method)
protected abstract String failedMessage(LogContext.Method method)
public void logFailed(LogContext.Method method, long durationMillis)
protected abstract Logger logger()
public void logStarting(LogContext.Method method)
public void logSucceeded(LogContext.Method method, long durationMillis)
protected Object[] params(LogContext.Method method, boolean succeeded, long durationMillis)
protected Level startingLevel(LogContext.Method method)
protected abstract String startingMessage(LogContext.Method method)
protected Level succeededLevel(LogContext.Method method)
protected abstract String succeededMessage(LogContext.Method method)
Copyright © 2013–2015 Schlichtherle IT Services. All rights reserved.