private static boolean setContext ( ) { if ( m_context == null && m_paxLogging != null ) { m_context = ( m_paxLogging . getPaxLoggingService ( ) != null ) ? m_paxLogging . getPaxLoggingService ( ) . getPaxContext ( ) : null ; } return m_context != null ; }
For all the methods that operate against the context return true if the MDC should use the PaxContext object ffrom the PaxLoggingManager or if the logging manager is not set or does not have its context available yet use a default context local to this MDC .