getTextFormatter(options?: TextFormatterOptions): TextFormatter
Get a text formatter with the specified options. Although it's flexible enough to create a custom formatter, if you want more control, you can create a custom formatter that satisfies the TextFormatter type instead.
For more information on the options, see TextFormatterOptions.
By default, the formatter formats log records as follows:
2023-11-14 22:13:20.000 +00:00 [INF] category·subcategory: Hello, world!
optional
options: TextFormatterOptions
The options for the text formatter.
The text formatter.