lgr (version 0.3.3)

default_should_flush: Default should_flush function

Description

This is the default "should_flush()" trigger function for Appenders that support such a mechanism, such as AppenderBuffer and AppenderDbi. It returns TRUE if the event's level meets or exceeds the Appender's flush_threshold.

Usage

default_should_flush(event)

Arguments

event

Value

TRUE or FALSE