isEnabled property

Future<bool> get isEnabled

returns a boolean value that is used to determine whether the logger is enabled or not.

Implementation

static Future<bool> get isEnabled async {
  return await methodChannel
      .invokeMethod<bool>('isLoggerEnabled')
      .then((value) => value ?? false);
}