createPrinter
createPrinter(
objectFormatter?
,arrayFormatter?
,dateFormatter?
):Printer
Factory function to create a Printer with optional overrides for object, array, and date formatting configurations.
Parameters
Section titled “Parameters”objectFormatter?
Section titled “objectFormatter?”Partial
<ObjectFormatterConfig
>
Overrides for object formatting.
arrayFormatter?
Section titled “arrayFormatter?”Partial
<ArrayFormatterConfig
>
Overrides for array formatting.
dateFormatter?
Section titled “dateFormatter?”Partial
<DateFormatterConfig
>
Overrides for date formatting.
Returns
Section titled “Returns”A new Printer instance or the defaultPrinter if no overrides provided.