{"size": 497, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "creatorrr/log-driver", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "creatorrr/log-driver", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "creatorrr/log-driver", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.4074074074, "max_line_length": 40, "alphanum_fraction": 0.6941649899}
import Logger from "./logger";
import filter from "./drivers/filter";
import format from "./drivers/format";
import console from "./drivers/console";
import restore from "./drivers/restore";
import { assign } from "../utils";

let logger = new Logger;

// Set up default drivers
logger
  .pipe(filter())
  .pipe(format())
  .pipe(console)
  .pipe(restore);

// Add basic drivers
assign(Logger.drivers, {
  filter, format, console, restore
});

export {
  logger, Logger
};

export default logger;
