Creates the transport that writes the host's lines: to an output channel, the workflow log, and so on. Runs once, when the logger is created.
The format for the transport to use, made from the logger's format option.
The level the host wants right now. Read once when the logger is created.
OptionalonReports level changes made by the host while the logger lives, such as a user changing the log level. Leave it out when the host's level never changes.
A subscription that stops the reports.
OptionaldisposeReleases what the host adapter holds, such as an output channel. Runs on logger disposal.
Everything the shared logger needs from the host it runs in. Each adapter implements it for its host and never makes the shared package import the host's API.