acuminous/tripitaka

View on GitHub
lib/processors/human.js

Summary

Maintainability
A
1 hr
Test Coverage
A
92%

Function exports has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (params = {}) => {
  const { serializer = null, indent = 2, decycler = DEFAULT_DECYCLER, colours } = params;
  const chalk = new Chalk.Instance({ level: colours });
  return ({ record }) => {
    const { level, timestamp = new Date(), message } = record;
Severity: Minor
Found in lib/processors/human.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status