mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 13:13:00 +01:00
12 lines
276 B
JavaScript
12 lines
276 B
JavaScript
const conf = require('./config.js');
|
|
|
|
let notLocalHost = conf.notLocalHost;
|
|
|
|
const mozlog = require('mozlog') ({
|
|
app: 'FirefoxFileshare',
|
|
level: notLocalHost ? 'INFO' : 'verbose',
|
|
fmt: notLocalHost ? 'heka' : 'pretty',
|
|
debug: !notLocalHost
|
|
})
|
|
|
|
module.exports = mozlog; |