public final class LogPolicyAllOn extends Object implements LogPolicyType
Log policy that enables logging to all destinations at the given log level.
| Modifier and Type | Method and Description |
|---|---|
static LogPolicyType |
newPolicy(LogLevel level)
Construct a new log policy, using the given log level.
|
LogLevel |
policyDefaultLevel() |
boolean |
policyDestinationEnabled(String destination) |
public static LogPolicyType newPolicy(LogLevel level)
Construct a new log policy, using the given log level.
level - The log level.public LogLevel policyDefaultLevel()
policyDefaultLevel in interface LogPolicyTypepublic boolean policyDestinationEnabled(String destination)
policyDestinationEnabled in interface LogPolicyTypedestination - The destination.true if logging to the given absolute destination is
enabled by the policy.Copyright © 2014 <code@io7m.com> http://io7m.com