@taotiejs/logger
v0.3.1
Published
Log collecting and querying based on pinojs and clickhouse
Downloads
3
Maintainers
Readme
Taotie Logger
Logger client of Taotie, transport logs by stdout and udp.
Installation
npm install @taotiejs/logger
Usage
const logger = require('@taotiejs/logger');
logger.configuer({
project: 'PROJECT NAME',
console: {
level: trace,
},
udp: process.env.NODE_ENV == 'production',
serializers: {},
recognizer(logArguments) {
return logArguments;
}
});
Server
You may use @taotiejs/server
for log collecting and querying.