Skip to content

Commit

Permalink
Use Pino.Level as LogLevel instead
Browse files Browse the repository at this point in the history
  • Loading branch information
lqmanh committed Jul 19, 2020
1 parent dcc4432 commit 189f54b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/modules/common/log-level.type.ts

This file was deleted.

3 changes: 1 addition & 2 deletions src/modules/data-processor/data-processor-options.class.ts
Original file line number Diff line number Diff line change
@@ -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'

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/modules/scheduler/scheduler-options.class.ts
Original file line number Diff line number Diff line change
@@ -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'

/**
Expand Down
3 changes: 1 addition & 2 deletions src/modules/scheduler/scheduler-options.interface.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/modules/scraper/scraper-options.class.ts
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
3 changes: 1 addition & 2 deletions src/modules/scraper/scraper-options.interface.ts
Original file line number Diff line number Diff line change
@@ -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'

/**
Expand Down

0 comments on commit 189f54b

Please sign in to comment.