log static method
Writes a timestamped, tagged trace message to the log file.
tag categorizes the message for filtering. Defaults to
TraceTag.general.
Implementation
static void log(String message, {TraceTag tag = TraceTag.general}) {
if (!enabled || !isTagEnabled(tag)) return;
_writeRaw('[${tag.name}] $message');
}