<commit_before>/**
 * 
 * ©2016 EdgeVerve Systems Limited (a fully owned Infosys subsidiary),
 * Bangalore, India. All Rights Reserved.
 * 
 */
var loopback = require('loopback');
var oeLogger = require('oe-logger');

module.exports = function(RED) {
    function OeLoggerNode(config) {
        RED.nodes.createNode(this, config);
        var node = this;
        var context = node.callContext;
        var flowName = config.flowName;
        var message = config.message;
        var levelOfLog = config.levelOfLog;
        var log = oeLogger(flowName);
        log[levelOfLog](context, message);
    }
};<commit_msg>adding oe-logger node<commit_after>/**
 * 
 * ©2016 EdgeVerve Systems Limited (a fully owned Infosys subsidiary),
 * Bangalore, India. All Rights Reserved.
 * 
 */
var loopback = require('loopback');
var oeLogger = require('oe-logger');

module.exports = function(RED) {
    function OeLoggerNode(config) {
        RED.nodes.createNode(this, config);
        var node = this;
        var context = node.callContext;
        var flowName = config.flowName;
        var message = config.message;
        var levelOfLog = config.levelOfLog;
        var log = oeLogger(flowName);
        log[levelOfLog](context, message);
    }
    RED.nodes.registerType("oe-logger", OeLoggerNode);
};
{'fraction_non_alphanumeric': 0.11990776325903152, 'fraction_numerical': 0.006149116064565719, 'mean_word_length': 3.006153846153846, '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': '3673434', 'n_tokens_mistral': 403, 'n_tokens_neox': 383, 'n_words': 98}