public String getDiscriminatingValue ( ILoggingEvent event ) { String contextName = event . getLoggerContextVO ( ) . getName ( ) ; if ( contextName == null ) { return defaultValue ; } else { return contextName ; } }
Return the name of the current context name as found in the logging event .