diff --git a/src/modules/common/log-level.type.ts b/src/modules/common/log-level.type.ts deleted file mode 100644 index 99f1dc1..0000000 --- a/src/modules/common/log-level.type.ts +++ /dev/null @@ -1 +0,0 @@ -export type LogLevel = 'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace' | 'silent' diff --git a/src/modules/data-processor/data-processor-options.class.ts b/src/modules/data-processor/data-processor-options.class.ts index 5e653f9..30f44ce 100644 --- a/src/modules/data-processor/data-processor-options.class.ts +++ b/src/modules/data-processor/data-processor-options.class.ts @@ -1,5 +1,4 @@ -import { Logger } from 'pino' -import { LogLevel } from '../common/log-level.type' +import { Level as LogLevel, Logger } from 'pino' import { DataProcessorOptionsInterface } from './data-processor-options.interface' /** diff --git a/src/modules/data-processor/data-processor-options.interface.ts b/src/modules/data-processor/data-processor-options.interface.ts index 0a44611..4770caa 100644 --- a/src/modules/data-processor/data-processor-options.interface.ts +++ b/src/modules/data-processor/data-processor-options.interface.ts @@ -1,5 +1,4 @@ -import { Logger } from 'pino' -import { LogLevel } from '../common/log-level.type' +import { Level as LogLevel, Logger } from 'pino' /** * Data processor options interface diff --git a/src/modules/scheduler/scheduler-options.class.ts b/src/modules/scheduler/scheduler-options.class.ts index bd479f9..a3d9790 100644 --- a/src/modules/scheduler/scheduler-options.class.ts +++ b/src/modules/scheduler/scheduler-options.class.ts @@ -1,5 +1,4 @@ -import { Logger } from 'pino' -import { LogLevel } from '../common/log-level.type' +import { Level as LogLevel, Logger } from 'pino' import { SchedulerOptionsInterface } from './scheduler-options.interface' /** diff --git a/src/modules/scheduler/scheduler-options.interface.ts b/src/modules/scheduler/scheduler-options.interface.ts index 2a6b95a..55ac13d 100644 --- a/src/modules/scheduler/scheduler-options.interface.ts +++ b/src/modules/scheduler/scheduler-options.interface.ts @@ -1,5 +1,4 @@ -import { Logger } from 'pino' -import { LogLevel } from '../common/log-level.type' +import { Level as LogLevel, Logger } from 'pino' /** * Scheduler options interface diff --git a/src/modules/scraper/scraper-options.class.ts b/src/modules/scraper/scraper-options.class.ts index d5c4cb8..901802a 100644 --- a/src/modules/scraper/scraper-options.class.ts +++ b/src/modules/scraper/scraper-options.class.ts @@ -1,5 +1,4 @@ -import { Logger } from 'pino' -import { LogLevel } from '../common/log-level.type' +import { Level as LogLevel, Logger } from 'pino' import { HttpProxy } from './http-proxy.interface' import { ScraperOptionsInterface } from './scraper-options.interface' diff --git a/src/modules/scraper/scraper-options.interface.ts b/src/modules/scraper/scraper-options.interface.ts index 3b6126e..809b903 100644 --- a/src/modules/scraper/scraper-options.interface.ts +++ b/src/modules/scraper/scraper-options.interface.ts @@ -1,5 +1,4 @@ -import { Logger } from 'pino' -import { LogLevel } from '../common/log-level.type' +import { Level as LogLevel, Logger } from 'pino' import { HttpProxy } from './http-proxy.interface' /**