LogEntries Appender
Sends log events to a LogEntries server.
Deprecated
le_node
module is deprecated by is author in favor of r7insight_node
. Please use Insight appender instead of.
bash
npm install --save @tsed/logger-logentries
Configuration
type
-logentries
options.token
- LogEntries token
See all available options for LogEntries here.
Example
typescript
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
}
});