Skip to content

Commit

Permalink
update shutdown section
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkuba committed May 7, 2024
1 parent 631dcfd commit 91d4c14
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions specification/logs/event-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ related to processing MUST be done by configuring the `LoggerProvider` directly.

This method provides a way for provider to do any cleanup required.

`Shutdown` MUST be implemented by invoking `Shutdown` on the delegate
`LoggerProvider`, which in effect invokes `Shutdown` on all registered
[LogRecordProcessors](sdk.md#logrecordprocessor).
`Shutdown` MUST NOT invoke `Shutdown` on the delegate
`LoggerProvider`, since the `LoggerProvider` could be used elsewhere. In order to
perform cleanup of the delegate `LoggerProvider`, its `Shutdown` method should be
called separately.

### ForceFlush

Expand Down

0 comments on commit 91d4c14

Please sign in to comment.