# Standard Out Appender

This appender writes all log events to the standard output stream.

# Configuration

type - stdout layout - object (optional, defaults to coloredLayout) - see layouts

# Example

import {Logger} from "@tsed/logger";

const logger = new Logger("loggerName");

logger.appenders.set("std-log", {
  type: "stdout",
  levels: ["debug", "trace", "info"]
});
1
2
3
4
5
6
7
8

Last Updated: 10/26/2023, 6:30:07 AM

Other topics