bbyars/mountebank

View on GitHub
src/util/logger.js

Summary

Maintainability
A
1 hr
Test Coverage
C
77%

Function createLogger has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createLogger (options) {
    if (!options.log) {
        options.log = { level: 'info' };
    }
    if (!options.log.transports) {
Severity: Minor
Found in src/util/logger.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    'use strict';
    Severity: Minor
    Found in src/util/logger.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status