write<TState> abstract method

void write<TState>({
  1. required LogEntry<TState> logEntry,
  2. ExternalScopeProvider? scopeProvider,
  3. required StringBuffer textWriter,
})

Writes the log message to the specified StringBuffer.

Implementations can use ANSI color codes in the output for console coloring.

Implementation

void write<TState>({
  required LogEntry<TState> logEntry,
  ExternalScopeProvider? scopeProvider,
  required StringBuffer textWriter,
});