Skip to content

Seq Appender

Sends log events to a Seq server.

bash
npm install --save @tsed/seq

Configuration

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

See all available options for Seq here.

Example

typescript
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
  }
});

Released under the MIT License.