mirror of
https://github.com/hanskokx/application_architecture_using_arcane.git
synced 2026-05-14 02:19:06 +02:00
Fix code indentation
This commit is contained in:
@@ -402,23 +402,23 @@ Once one (or more) logging interfaces have been created and are ready to use, th
|
|||||||
|
|
||||||
```dart
|
```dart
|
||||||
Future<void> main() async {
|
Future<void> main() async {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
|
||||||
await Arcane.logger.registerInterfaces([
|
await Arcane.logger.registerInterfaces([
|
||||||
// Register the debug console logging interface
|
// Register the debug console logging interface
|
||||||
DebugConsole.I,
|
DebugConsole.I,
|
||||||
// Register the New Relic logging interface
|
// Register the New Relic logging interface
|
||||||
NewRelic.I,
|
NewRelic.I,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Initialize registered logging interfaces
|
// Initialize registered logging interfaces
|
||||||
// NOTE: This step may be deferred until a user has consented to app tracking.
|
// NOTE: This step may be deferred until a user has consented to app tracking.
|
||||||
await Arcane.logger.initializeInterfaces();
|
await Arcane.logger.initializeInterfaces();
|
||||||
|
|
||||||
// Alternatively, interfaces may be initialized independently:
|
// Alternatively, interfaces may be initialized independently:
|
||||||
await NewRelic.I.init();
|
await NewRelic.I.init();
|
||||||
|
|
||||||
runApp(MyApp());
|
runApp(MyApp());
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user