whole_func_string: function fromJson(winstonConf, callback) {
    if (_isEmpty(winstonConf)) {
      callback(new Error('Empty winston configuration'), winston);
      return;
    }
  
    configLogger(winstonConf);
  
    callback(null, winston);
  }
func_code_string: function fromJson(winstonConf, callback) {
    if (_isEmpty(winstonConf)) {
      callback(new Error('Empty winston configuration'), winston);
      return;
    }
  
    configLogger(winstonConf);
  
    callback(null, winston);
  }
func_documentation_string: initialize Winston logging mechanism from config (JSON) object each logger can be accessed via winston.loggers.get(NAME) in all modules running in this nodejs app