1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-06-05 22:09:25 +02:00

separate utilities for logs

This commit is contained in:
Ondřej Synáček
2020-07-17 21:34:52 +02:00
parent 8bd5b99e50
commit 410096398d
4 changed files with 40 additions and 34 deletions

View File

@@ -1,7 +1,8 @@
const winston = require('winston')
const expressWinston = require('express-winston')
const path = require('path')
const { checkValidURL, createTransports } = require('./utils')
const { checkValidURL } = require('./utils')
const { createTransports } = require('./log-utils')
const MissingURLParameter = () => new Error('Please provide valid URL or event number.')
const sendJSON = (req) => {