#include "ruby/ruby.h"
#include "ruby/util.h"
#include <syslog.h>
Go to the source code of this file.
◆ define_syslog_shortcut_method
#define define_syslog_shortcut_method |
( |
|
pri, |
|
|
|
name |
|
) |
| |
◆ rb_define_syslog_facility
◆ rb_define_syslog_level
#define rb_define_syslog_level |
( |
|
c, |
|
|
|
m |
|
) |
| |
Value:
rb_define_module_function(mSyslog, #m, mSyslog_##m, -1)
void rb_define_const(VALUE, const char *, VALUE)
◆ rb_define_syslog_option
◆ Init_syslog()
void Init_syslog |
( |
void |
| ) |
|
Definition at line 416 of file syslog.c.
References debug, err, rb_define_method, rb_define_module(), rb_define_module_function, rb_define_module_under(), rb_define_singleton_method, rb_define_syslog_facility, rb_define_syslog_level, rb_define_syslog_option, rb_funcall(), rb_include_module(), and rb_intern().