logger property Null safety

Logger logger
read / write

The logger to use for logging

Implementation

static Logger logger = Logger.detached('Realm')
  ..level = RealmLogLevel.info
  ..onRecord.listen((event) => print(event));