Logging - Logger Manager | Logger Factory

Java Conceptuel Diagram

Logging - Logger Manager | Logger Factory

About

A static logger factory is the entry point to get/create/retrieve a logger

Logger Manager manages the loggers and its hierarchical namespace (ie if a logger has a parent it will inherit all properties from its parent that are not specifically set.)

Articles Related

Example

// get the fully qualified name of the class by default
protected static final Logger logger = LogManager.getLogger();
Logger x = LoggerFactory.getLogger("x.y.x"); 





Discover More
Java Conceptuel Diagram
Java - Logger

A Logger is the entry point to logs messages. The main entity on which applications make logging calls. A Logger object is used to log messages. It has a hierarchical scope that is generally the...



Share this page:
Follow us:
Task Runner