public class LoggerHandler
extends java.lang.Object
Logger
s for the SecureNIO library. It sets
all loggers as children of a top level handler ("SecureNIO") and applies
appropriate formatting for them.Constructor and Description |
---|
LoggerHandler() |
Modifier and Type | Method and Description |
---|---|
static java.util.logging.Logger |
getLogger(java.lang.String name)
Get a
Logger . |
static void |
setLevel(java.util.logging.Level level)
Sets the logging level to all
Logger children of the parent
("SecureNIO") logger and to all their handlers. |
public static java.util.logging.Logger getLogger(java.lang.String name)
Logger
. This is a pass-through implementation that ensures
all loggers for SecureNIO are children of the parent ("SecureNIO") logger.name
- The name to assign to the loggerpublic static void setLevel(java.util.logging.Level level)
Logger
children of the parent
("SecureNIO") logger and to all their handlers.level
- The Level
to set the loggers to