flogState function

void flogState(
  1. Object? object, [
  2. Object? feature
])

Use flogState to produce logs regarding state changes.

by adding a feature, this log will be filtered based off of the features that you are allowing to print via Flog.setUp(features: [...])

leave feature null to always print to console

Implementation

void flogState(Object? object, [Object? feature]) {
  if (_delegate.flogState != null) _delegate.flogState!(object, feature);
  _filterAndLog(_FlogTag.state, object, feature: feature);
}