public static Logger getLogger ( String name ) { PaxLogger paxLogger ; if ( m_paxLogging == null ) { paxLogger = FallbackLogFactory . createFallbackLog ( null , name ) ; } else { paxLogger = m_paxLogging . getLogger ( name , LOG4J_FQCN ) ; } Logger logger = new Logger ( paxLogger ) ; m_loggers . put ( name , logger ) ; return logger ; }
Retrieve a logger by name . If the named logger already exists then the existing instance will be reutrned . Otherwise a new instance is created .