flushLogs method
Forces the SDK's logger pipeline to flush. Tests that emit logs synchronously usually don't need this, but it's safe to call.
Implementation
Future<void> flushLogs() async {
await OTel.loggerProvider().forceFlush();
}
Forces the SDK's logger pipeline to flush. Tests that emit logs synchronously usually don't need this, but it's safe to call.
Future<void> flushLogs() async {
await OTel.loggerProvider().forceFlush();
}