TextLogFormatter

zio.blocks.telemetry.TextLogFormatter

Human-readable text format: "2026-03-31T17:30:00.123Z INFO [MyClass.method:42] message {key=val}"

Attributes

Source
LogFormatter.scala
Graph
Supertypes
trait LogFormatter
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def format(sb: StringBuilder, timestampNanos: Long, severity: Severity, severityText: String, body: String, builder: AttributesBuilder, traceIdHi: Long, traceIdLo: Long, spanId: Long, traceFlags: Byte, throwable: Option[Throwable]): Unit

Attributes

Definition Classes
Source
LogFormatter.scala
override def formatRecord(sb: StringBuilder, record: LogRecord): Unit

Format from a LogRecord (used by FormattedLogRecordProcessor).

Format from a LogRecord (used by FormattedLogRecordProcessor).

Attributes

Definition Classes
Source
LogFormatter.scala