question: public void error ( Level level , String messageId , String data [ ] , Object session , Map props ) throws LogException { if ( isErrorLoggable ( level ) ) { SSOToken authSSOToken = ( SSOToken ) AccessController . doPrivileged ( AdminTokenAction . getInstance ( ) ) ; LogRecord lr = getLogRecord ( messageId , data , session , props , authSSOToken ) ; if ( lr != null ) { errorLogger . log ( lr , authSSOToken ) ; } } }
target:  Writes error occurred in a component into a log.