question: public void logErrorMessage ( String msgIdName , String [ ] data , SSOToken token ) { try { getLogMessageProvider ( ) ; } catch ( IOException e ) { logger . error ( e . getMessage ( ) , e ) ; logger . error ( "disabling logging" ) ; logStatus = false ; } if ( errorLogger != null && msgProvider != null ) { final LogRecord lr = msgProvider . createLogRecord ( msgIdName , data , token ) ; if ( lr != null ) { final SSOToken ssoToken = AccessController . doPrivileged ( AdminTokenAction . getInstance ( ) ) ; errorLogger . log ( lr , ssoToken ) ; } } }
target:  Logs an error message.