noBoxingByDefault property

bool noBoxingByDefault
final

Whether the implicit bools in excludeBox are true or false by default.

By default all levels are 'boxed', this flips the default to no boxing for all levels. Individual boxing can still be turned on for specific levels by setting them manually to false in excludeBox.

Example to specifically activate 'boxing' of Level.error:

noBoxingByDefault: true,
excludeBox: {
  Level.error: false,
},

See also:

Implementation

final bool noBoxingByDefault;