ethereum/mist

View on GitHub
modules/utils/logger.js

Summary

Maintainability
A
1 hr
Test Coverage

Function setup has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.setup = function(options) {
  const logFolder = options.logFolder;
  const level = options.logLevel || 'info';

  const config = {
Severity: Minor
Found in modules/utils/logger.js - About 1 hr to fix

    Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
    Open

    import log4js from 'log4js';
    Severity: Minor
    Found in modules/utils/logger.js by eslint

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

    There are no issues that match your filters.

    Category
    Status