Method IsInterestedIn
IsInterestedIn(ref LogMessage)
Checks if the LogMessage's Timestamp and Level fits (see 'remarks') the sink. Updates sink's 'LastTimestamp' if method returns true.
Declaration
public bool IsInterestedIn(ref LogMessage elem)
Parameters
Type | Name | Description |
---|---|---|
LogMessage | elem | Log message to check |
Returns
Type | Description |
---|---|
bool | True if this LogMessage is going to be processed by the sink |
Remarks
To return true 'LogMessage's Timestamp should be less than sink's LastTimestamp (means newer than last processed message. And its Level should be >= than sink's MinimalLevel.