Java Code Examples for io.netty.util.internal.logging.InternalLogLevel#INFO

The following examples show how to use io.netty.util.internal.logging.InternalLogLevel#INFO . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NSLogginHandler.java    From ns4_frame with Apache License 2.0 5 votes vote down vote up
/**
 * Creates a new instance whose logger name is the fully qualified class
 * name of the instance.
 *
 * @param level   the log level
 */
public NSLogginHandler(LogLevel level) {
    if (level == null) {
        throw new NullPointerException("level");
    }

    logger = new NSLogForNetty();
    this.level = level;
    internalLevel = InternalLogLevel.INFO;
}
 
Example 2
Source File: NSLogginHandler.java    From ns4_frame with Apache License 2.0 5 votes vote down vote up
/**
 * Creates a new instance with the specified logger name.
 *
 * @param level   the log level
 */
public NSLogginHandler(Class<?> clazz, LogLevel level) {
    if (clazz == null) {
        throw new NullPointerException("clazz");
    }
    if (level == null) {
        throw new NullPointerException("level");
    }
    logger = new NSLogForNetty();
    this.level = level;
    internalLevel = InternalLogLevel.INFO;
}
 
Example 3
Source File: NSLogginHandler.java    From ns4_frame with Apache License 2.0 5 votes vote down vote up
/**
 * Creates a new instance with the specified logger name.
 *
 * @param level   the log level
 */
public NSLogginHandler(String name, LogLevel level) {
    if (name == null) {
        throw new NullPointerException("name");
    }
    if (level == null) {
        throw new NullPointerException("level");
    }
    logger = new NSLogForNetty();
    this.level = level;
    internalLevel = InternalLogLevel.INFO;
}