@confirmationlabs/winston-udp-transport
v0.0.9
Published
UDP transport for winston logger
Downloads
1
Maintainers
Readme
winston-udp-transport
Transport for winston
logger to write logs via UDP
Usage
import { UDPTransport } from 'winston-udp-transport';
...
const options = {
host: <host>,
port: <port>,
node_name: <this_node_name>,
appName: <your_app_name>,
level: <minimum_logging_level>,
...
}
winston.add(UDPTransport, options);
transports.push(new UDPTransport(options));