1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-14 07:02:30 +01: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;