void logError ( final String message ) { if ( logger != null ) { try { StringBuilder buf = new StringBuilder ( name ) ; buf . append ( ":" ) ; buf . append ( message ) ; logger . error ( buf . toString ( ) ) ; } catch ( Throwable t ) { //Ignore - logging should not kill anything } } }
Logs an error message .