public interface LoggerInfo
Modifier and Type | Method and Description |
---|---|
Level |
getLevel()
Get the log Level that has been specified for this Logger.
|
java.lang.String |
getName()
Get the name for this logger.
|
void |
setLevel(Level newLevel)
Set the log level specifying which message levels will be
logged by the logger.
|
void setLevel(Level newLevel) throws java.lang.IllegalArgumentException
If the new level is null, it means that the node should inherit its level from its nearest ancestor with a specific (non-null) level value.
newLevel
- the new value for the log level (may be null)java.lang.IllegalArgumentException
- if task is stopped, logger is removed or level is incorrect.Level getLevel() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if task is stopped, logger is removed or level is incorrect.java.lang.String getName()
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.