Logger constructor

Logger({
  1. required bool debugMode,
})

Constructs a logger where logging can be enabled or disabled.

The debugMode parameter specifies whether logging is enabled.

Implementation

Logger({required this.debugMode});