logger docs

This commit is contained in:
Hiroshi Horie
2021-12-12 18:17:48 +07:00
parent 477a08b325
commit 93d0bc0c19
+8 -1
View File
@@ -1,3 +1,10 @@
import 'package:logging/logging.dart';
/// Logger used for the entire SDK. To output logs, configure the logger at the
/// entry point of your app. Adjust the logger output level to your needs.
/// A typical configuration would look like the following:
///
/// Logger.root.level = Level.FINE;
/// Logger.root.onRecord.listen((record) {
/// print('${record.level.name}: ${record.message}');
/// });
final logger = Logger('livekit');