# Standard Error Appender
This appender writes all log events to the standard error stream.
# Configuration
type - stderr
layout - object (optional, defaults to coloredLayout) - see layouts
# Example
import {Logger} from "@tsed/logger";
const logger = new Logger("loggerName");
logger.appenders.set("error-log", {
type: "strerr",
levels: ["debug", "trace", "info"]
});
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Other topics
- Console Appender
- File Appender
- Date Rolling File Appender
- Connect Appender
- Standard Out Appender
- Standard Error Appender
- Insight Appender
- LogEntries Appender
- LogStash HTTP Appender
- LogStash UDP Appender
- Loggly Appender
- RabbitMQ Appender
- Seq Appender
- Slack Appender
- SMTP Appender
- Basic layout
- Colored layout
- Dummy layout
- Message Pass-Through layout
- Object layout
- Json layout
- Pattern layout