enabled property

bool enabled
getter/setter pair

Use writing talker records in file The main rule that is responsible for the operation of the package All log and handle error / exception methods are working when true and not working when false

Implementation

// bool get writeToFile => _writeToFile && enabled;
// final bool _writeToFile;

/// The main rule that is responsible
/// for the operation of the package
/// All log and handle error / exception methods are working when [true] and not working when [false]
bool enabled;