append method

void append(
  1. SpringLogRecord record
)

Called by the logging system for each record: passes it to write when it is at or above threshold, and drops it otherwise.

Implementation

void append(SpringLogRecord record) {
  if (threshold != SpringLogLevel.off &&
      record.level.index >= threshold.index) {
    write(record);
  }
}