# LogEntries Appender

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

Deprecated

le_node module is deprecated by is author in favor of r7insight_node. Please use Insight appender instead of.

npm install --save @tsed/logger-logentries
1

# Configuration

  • type - logentries
  • options.token - LogEntries token

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

# Example

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

const logger = new Logger("loggerName");

logger.appenders.set("stdout", {
  type: "logentries",
  level: ["info"],
  options: {
    token: "the token"
    // other options of logentries
  }
});
1
2
3
4
5
6
7
8
9
10
11
12
13

Last Updated: 7/10/2021, 10:22:32 AM

Other topics