1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-09-22 00:51:33 +02:00
send/server/log.js
2017-06-09 10:44:12 -07:00

13 lines
279 B
JavaScript

const conf = require('./config.js');
const notLocalHost = conf.notLocalHost;
const mozlog = require('mozlog')({
app: 'FirefoxFileshare',
level: notLocalHost ? 'INFO' : 'verbose',
fmt: notLocalHost ? 'heka' : 'pretty',
debug: !notLocalHost
});
module.exports = mozlog;