Nexus API Reference

LineFormatter
in package
implements Formatter

FinalYes
Tags
psalm-api

Monolog-style single-line format: [2026-06-14T13:50:01.234Z] app.INFO: user logged in {"userId":42}

Context is JSON-encoded after the message. Empty context is omitted.

Table of Contents

Interfaces

Formatter

Methods

format()  : string

Methods

format()

public format(Record $record) : string
Parameters
$record : Record
Tags
psalm-suppress

InvalidOperand — int/float arithmetic on millisecond fraction.

Return values
string

        
On this page

Search results