index.js
function(message, channel, level) {
    if (helper.isObject(message)) {
      this._logger.call(this,
        channel.action
        + ':'
        + (channel.owner_id ? channel.owner_id : 'system'),
        level);

      if (message.message) {
        message = message;
      }

      this._logger.call(this, message, level);
    } else {
      this._logger.call(this,
        channel.action
        + ':'
        + (channel.owner_id ? channel.owner_id : 'system')
        + ':'
        + message,
        level);
    }
  }
function(message, channel, level) {
    if (helper.isObject(message)) {
      this._logger.call(this,
        channel.action
        + ':'
        + (channel.owner_id ? channel.owner_id : 'system'),
        level);

      if (message.message) {
        message = message;
      }

      this._logger.call(this, message, level);
    } else {
      this._logger.call(this,
        channel.action
        + ':'
        + (channel.owner_id ? channel.owner_id : 'system')
        + ':'
        + message,
        level);
    }
  }
function ( message , channel , level ) { if ( helper . isObject ( message ) ) { this . _logger . call ( this , channel . action + ':' + ( channel . owner_id ? channel . owner_id : 'system' ) , level ) ; if ( message . message ) { message = message ; } this . _logger . call ( this , message , level ) ; } else { this . _logger . call ( this , channel . action + ':' + ( channel . owner_id ? channel . owner_id : 'system' ) + ':' + message , level ) ; } }
Logs a message
Logs a message