rconsole.js
function send (severity, msg) {
  var len 
  output(severity, msg, msg.length)

  // this should probably be 1024
  if (msg.length > 1024)
    process.stderr.write(new Error('maximum log length is 1024 bytes') +'\n')

  if (rc.syslog) {
    // add a hashtag based on the severity level
    msg = formatIf(rc.syslogHashTags, '#%s %s', [severity, msg], msg)
    // send the log to syslog 
    bindings.log(sev[severity], msg)

  }
}
function send (severity, msg) {
  var len 
  output(severity, msg, msg.length)

  // this should probably be 1024
  if (msg.length > 1024)
    process.stderr.write(new Error('maximum log length is 1024 bytes') +'\n')

  if (rc.syslog) {
    // add a hashtag based on the severity level
    msg = formatIf(rc.syslogHashTags, '#%s %s', [severity, msg], msg)
    // send the log to syslog 
    bindings.log(sev[severity], msg)

  }
}
function send ( severity , msg ) { var len output ( severity , msg , msg . length ) // this should probably be 1024 if ( msg . length > 1024 ) process . stderr . write ( new Error ( 'maximum log length is 1024 bytes' ) + '\n' ) if ( rc . syslog ) { // add a hashtag based on the severity level msg = formatIf ( rc . syslogHashTags , '#%s %s' , [ severity , msg ] , msg ) // send the log to syslog  bindings . log ( sev [ severity ] , msg ) } }
Send message to syslog and stdio

@return {undefined}
@api private
Send message to syslog and stdio