EventWordingUtility
Index
Constructors
Methods
Constructors
constructor
Returns EventWordingUtility
Methods
staticword
The lines the terminal logs for an entry, or
undefinedfor an event it does not log.Parameters
entry: Pick<JournalEntry, name | payload | type>
A journal entry, or an event's name, plain payload and class name.
context: WordingContext = {}
What the terminal knew beside the entry, which only these lines need.
Returns WordedLine[] | undefined
Words each event a journal records the way
LoggingEventListenerlogs it in the terminal, so a reader of a journal says what the terminal said. Imports nothing at run time, so it runs in a browser.Event Listeners/Wording