I am using loggly with node js. This is the initialization script:
var winston = require('winston'); require('winston-loggly-bulk'); winston.add(winston.transports.Loggly, { inputToken: "TOKEN", subdomain: "SUBDOMAIN", tags: ["Winston-NodeJS"], json:true });
It seems that the tags are set to initialize winston.add , but what if I want to dynamically set some tag when sending a message to the log?
source share