<commit_before>import _ from 'lodash';

import moment from 'moment';

let winston = require('winston');
winston.level = 'debug';

winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, {'timestamp':function() {return getLogDate(); },'colorize':true});

const version = 'ktp-0.0.1';
export function info(message) {
    winston.log('info', message);
}

export function debug(message) {
    winston.log('debug', message);
}

export function error(message, error) {
    winston.log('error', message, error);
}

export function getLogDate() {
    return moment().format('DD/MM/YYYY HH:mm:ss');
}

export function getBelgiumDate(date) {
    return moment(date).format('DD/MM/YYYY');
}

export function getVersion() {
    return version;
}
<commit_msg>Update UtilityLog.js<commit_after>import _ from 'lodash';

import moment from 'moment';

let winston = require('winston');
winston.level = 'debug';

winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, {'timestamp':function() {return getLogDate(); },'colorize':true});

const version = 'qvr-1.0.0';
export function info(message) {
    winston.log('info', message);
}

export function debug(message) {
    winston.log('debug', message);
}

export function error(message, error) {
    winston.log('error', message, error);
}

export function getLogDate() {
    return moment().format('DD/MM/YYYY HH:mm:ss');
}

export function getVersion() {
    return version;
}

{'fraction_non_alphanumeric': 0.1629175187457396, 'fraction_numerical': 0.00408997955010225, 'mean_word_length': 5.327586206896552, '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': '206014', 'n_tokens_mistral': 493, 'n_tokens_neox': 474, 'n_words': 104}