<commit_before>/* eslint no-console:0 */
'use strict';

const chalk = require('chalk');
const dateformat = require('dateformat');
const symbols = require('log-symbols');

class Logger {

  constructor(options) {
    this.options = options;
  }

  static warning(entry) {
    this._log(entry, 'yellow');
  }

  static error(entry) {
    this._log(entry, 'red');
  }

  static simple(entry) {
    console.log(entry);
  }

  // graphics

  static failed(entry) {
    this._log(`${symbols.error} ${entry}`, 'red');
  }

  static ok(entry) {
    this._log(`${symbols.success} ${entry}`, 'green');
  }

  static _log(entry, _color) {

    const now = dateformat(new Date(), 'HH:MM:ss');
    const defaultColor = entry instanceof Error ? 'red' : 'gray';
<commit_msg>add info log level to Logger<commit_after>/* eslint no-console:0 */
'use strict';

const chalk = require('chalk');
const dateformat = require('dateformat');
const symbols = require('log-symbols');

class Logger {

  constructor(options) {
    this.options = options;
  }

  static warning(entry) {
    this._log(entry, 'yellow');
  }

  static error(entry) {
    this._log(entry, 'red');
  }

  static info(entry) {
    this._log(entry);
  }

  // graphics

  static failed(entry) {
    this._log(`${symbols.error} ${entry}`, 'red');
  }

  static ok(entry) {
    this._log(`${symbols.success} ${entry}`, 'green');
  }

  static _log(entry, _color) {

    const now = dateformat(new Date(), 'HH:MM:ss');
    const defaultColor = entry instanceof Error ? 'red' : 'gray';

{'fraction_non_alphanumeric': 0.17527795945062133, 'fraction_numerical': 0.0013080444735120995, 'mean_word_length': 3.5535714285714284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5471055', 'n_tokens_mistral': 530, 'n_tokens_neox': 507, 'n_words': 117}