| Type: | Package | 
| Title: | Send Log Messages to Remote 'syslog' Server | 
| Version: | 0.1.2.1 | 
| Author: | Panagiotis Cheilaris [aut, cre] | 
| Maintainer: | Panagiotis Cheilaris <philaris@gmail.com> | 
| Description: | Send 'syslog' protocol messages to a remote 'syslog' server specified by host name and TCP network port. | 
| URL: | https://github.com/philaris/syslognet | 
| BugReports: | https://github.com/philaris/syslognet/issues | 
| License: | MIT + file LICENSE | 
| Encoding: | UTF-8 | 
| LazyData: | true | 
| RoxygenNote: | 7.0.2 | 
| Imports: | utils | 
| NeedsCompilation: | no | 
| Packaged: | 2020-01-07 10:08:27 UTC; philaris | 
| Repository: | CRAN | 
| Date/Publication: | 2020-01-08 16:10:05 UTC | 
Send log message to syslog server
Description
Send log message to syslog server.
Usage
syslog(
  message,
  severity = "NOTICE",
  facility = "USER",
  host = Sys.info()[["nodename"]],
  app_name = Sys.info()[["user"]],
  proc_id = Sys.getpid(),
  server = "localhost",
  port = 601L
)
Arguments
message | 
 text message (string).  | 
severity | 
 severity level (string).  | 
facility | 
 log facility (string).  | 
host | 
 machine that originally sends the message (string).  | 
app_name | 
 application name that originally sends the message (string).  | 
proc_id | 
 process id that originally sends the message (numeric).  | 
server | 
 syslogd server hostname (string).  | 
port | 
 syslogd server port (integer).  | 
Value
Number of bytes written to socket.
Examples
## Not run: 
syslog("log message", "INFO", app_name = 'program', server = 'logserver')
## End(Not run)