Table of Contents

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");