call method
Checks level, evaluates the factory eagerly, and appends the write to the chain. Writer errors are swallowed - logging is best-effort.
Implementation
void call(LogLevel level, LogEntryFactory factory) {
if (level.index < logLevel.index || _closed) return;
_latest = _latest.then((_) async {
try {
await _writer.log(await factory());
} catch (_) {}
});
}