InternalLogger Type — netty Architecture
Architecture documentation for the InternalLogger type/interface in InternalLogger.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4c7a68ab_8852_c522_adb7_07eda29db0d8["InternalLogger"] 77154841_52ed_61fd_9895_34cf59636821["InternalLogger.java"] 4c7a68ab_8852_c522_adb7_07eda29db0d8 -->|defined in| 77154841_52ed_61fd_9895_34cf59636821 style 4c7a68ab_8852_c522_adb7_07eda29db0d8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/logging/InternalLogger.java lines 46–486
public interface InternalLogger {
/**
* Return the name of this {@link InternalLogger} instance.
*
* @return name of this logger instance
*/
String name();
/**
* Is the logger instance enabled for the TRACE level?
*
* @return True if this Logger is enabled for the TRACE level,
* false otherwise.
*/
boolean isTraceEnabled();
/**
* Log a message at the TRACE level.
*
* @param msg the message string to be logged
*/
void trace(String msg);
/**
* Log a message at the TRACE level according to the specified format
* and argument.
* <p/>
* <p>This form avoids superfluous object creation when the logger
* is disabled for the TRACE level. </p>
*
* @param format the format string
* @param arg the argument
*/
void trace(String format, Object arg);
/**
* Log a message at the TRACE level according to the specified format
* and arguments.
* <p/>
* <p>This form avoids superfluous object creation when the logger
* is disabled for the TRACE level. </p>
*
* @param format the format string
* @param argA the first argument
* @param argB the second argument
*/
void trace(String format, Object argA, Object argB);
/**
* Log a message at the TRACE level according to the specified format
* and arguments.
* <p/>
* <p>This form avoids superfluous string concatenation when the logger
* is disabled for the TRACE level. However, this variant incurs the hidden
* (and relatively small) cost of creating an {@code Object[]} before invoking the method,
* even if this logger is disabled for TRACE. The variants taking {@link #trace(String, Object) one} and
* {@link #trace(String, Object, Object) two} arguments exist solely in order to avoid this hidden cost.</p>
*
* @param format the format string
* @param arguments a list of 3 or more arguments
*/
void trace(String format, Object... arguments);
/**
* Log an exception (throwable) at the TRACE level with an
* accompanying message.
*
* @param msg the message accompanying the exception
* @param t the exception (throwable) to log
*/
void trace(String msg, Throwable t);
/**
* Log an exception (throwable) at the TRACE level.
*
* @param t the exception (throwable) to log
*/
void trace(Throwable t);
/**
Source
Frequently Asked Questions
What is the InternalLogger type?
InternalLogger is a type/interface in the netty codebase, defined in common/src/main/java/io/netty/util/internal/logging/InternalLogger.java.
Where is InternalLogger defined?
InternalLogger is defined in common/src/main/java/io/netty/util/internal/logging/InternalLogger.java at line 46.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free