public void log ( Marker marker , String fqcn , int level , String message , Object [ ] argArray , Throwable t ) { setMDCMarker ( marker ) ; switch ( level ) { case ( TRACE_INT ) : if ( m_delegate . isTraceEnabled ( ) ) { FormattingTuple tuple = MessageFormatter . arrayFormat ( message , argArray ) ; m_delegate . trace ( tuple . getMessage ( ) , t , fqcn ) ; } break ; case ( DEBUG_INT ) : if ( m_delegate . isDebugEnabled ( ) ) { FormattingTuple tuple = MessageFormatter . arrayFormat ( message , argArray ) ; m_delegate . debug ( tuple . getMessage ( ) , t , fqcn ) ; } break ; case ( INFO_INT ) : if ( m_delegate . isInfoEnabled ( ) ) { FormattingTuple tuple = MessageFormatter . arrayFormat ( message , argArray ) ; m_delegate . inform ( tuple . getMessage ( ) , t , fqcn ) ; } break ; case ( WARN_INT ) : if ( m_delegate . isWarnEnabled ( ) ) { FormattingTuple tuple = MessageFormatter . arrayFormat ( message , argArray ) ; m_delegate . warn ( tuple . getMessage ( ) , t , fqcn ) ; } break ; case ( ERROR_INT ) : if ( m_delegate . isErrorEnabled ( ) ) { FormattingTuple tuple = MessageFormatter . arrayFormat ( message , argArray ) ; m_delegate . error ( tuple . getMessage ( ) , t , fqcn ) ; } break ; default : break ; } resetMDCMarker ( ) ; }
This method implements LocationAwareLogger . log