Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Update packages, use console instead of log for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
drublic committed Mar 3, 2019
1 parent 33c4feb commit bdce835
Show file tree
Hide file tree
Showing 3 changed files with 254 additions and 417 deletions.
4 changes: 1 addition & 3 deletions lib/Logger.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import * as Log from "log";

import LoggerInterface from "./interfaces/LoggerInterface";

class Logger {
private logger: LoggerInterface = new Log("info");
private logger: LoggerInterface = console;

public set(loggerInstance: LoggerInterface) {
this.logger = loggerInstance;
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"html-minifier": "^3.5.12",
"is-absolute-url": "^2.1.0",
"jsdom": "^13.2.0",
"log": "^3.2.0",
"request": "^2.85.0",
"request-image-size": "^2.1.0",
"request-promise-native": "^1.0.5",
Expand Down
Loading

0 comments on commit bdce835

Please sign in to comment.