# Seq Appender

Sends log events to a Seq (opens new window) server.

npm install --save @tsed/seq
1

# Configuration

  • type - seq
  • options.url - The url log server
  • options.apiKey - The apiKey

See all available options for Seq here (opens new window).

# Example

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

const logger = new Logger("loggerName");

logger.appenders.set("stdout", {
  type: "seq",
  level: ["info"],
  options: {
    serverUrl: "http://localhost:5341",
    apiKey: "the token"
    // other Seq options
  }
});
1
2
3
4
5
6
7
8
9
10
11
12
13
14

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

Other topics