chore: disable all console functions in favor of logger
This commit is contained in:
parent
1a37662502
commit
d1e410ef33
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ import { createExtractors, ExtractorRegistry } from './extractor';
|
|||
import { CineHDPlus, Cuevana, Eurostreaming, Frembed, FrenchCloud, HomeCine, KinoGer, MegaKino, MeineCloud, MostraGuarda, Movix, PrimeWire, Soaper, Source, StreamKiste, VerHdLink, VidSrc, VixSrc } from './source';
|
||||
import { contextFromRequestAndResponse, envGet, envIsProd, Fetcher, StreamResolver } from './utils';
|
||||
|
||||
console.log = console.warn = console.error = console.info = console.debug = () => { /* disable in favor of logger */ };
|
||||
|
||||
const logger = winston.createLogger({
|
||||
transports: [
|
||||
new winston.transports.Console({
|
||||
|
|
|
|||
Loading…
Reference in a new issue