@Override public void publish(LogRecord logRecord){
  if (MonitoringUtil.isRunning() && dbLogHandlerForMonitoring != null) {
    dbLogHandlerForMonitoring.incHandlerRequestCount(1);
  }
  if (!isLoggable(logRecord)) {
    return;
  }
synchronized (this) {
    recordBuffer.add(logRecord);
    if (recordBuffer.size() >= recCountLimit) {
      if (Debug.messageEnabled()) {
        Debug.message(tableName + ":DBHandler:.publish(): got " + recordBuffer.size()+ " records, Limit "+ recCountLimit+ " writing all");
      }
      nonBlockingFlush();
    }
  }
}

@ Override public void publish ( LogRecord logRecord ) { if ( MonitoringUtil . isRunning ( ) && dbLogHandlerForMonitoring != null ) { dbLogHandlerForMonitoring . incHandlerRequestCount ( 1 ) ; } if ( ! isLoggable ( logRecord ) ) { return ; } synchronized ( this ) { recordBuffer . add ( logRecord ) ; if ( recordBuffer . size ( ) >= recCountLimit ) { if ( Debug . messageEnabled ( ) ) { Debug . message ( tableName + ":DBHandler:.publish(): got " + recordBuffer . size ( ) + " records, Limit " + recCountLimit + " writing all" ) ; } nonBlockingFlush ( ) ; } } }
publishes the provided logrecord .
