# 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: 7/10/2021, 10:22:32 AM

Other topics