filter static method

void filter(
  1. List<Object>? features, {
  2. bool allowNav = true,
  3. bool allowState = true,
})

Features

.features

Specify features that can be printed to console

if null, all features will be printed to console

Filtering applies to flogInfo and flogState

flogError, flogImportant, flogNav, and flogFatal will always print to console


Allow Navigation

.allowNav

Enable navigation logging

default: true


Allow State

.allowState

Enable state logging

If false, it will override features and disable state logging

if true, features will be applied and filtered when logging


Implementation

static void filter(
  List<Object>? features, {
  bool allowNav: true,
  bool allowState: true,
}) {
  _features = features;
  _allowState = allowState;
  _allowNav = allowNav;
}