php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_syslog.h File Reference
#include "php.h"
#include <php_config.h>

Go to the source code of this file.

Macros

#define PHP_SYSLOG_FILTER_ALL   0
 
#define PHP_SYSLOG_FILTER_NO_CTRL   1
 
#define PHP_SYSLOG_FILTER_ASCII   2
 
#define PHP_SYSLOG_FILTER_RAW   3
 

Functions

PHPAPI void php_syslog_str (int priority, const zend_string *message)
 
PHPAPI void php_syslog (int, const char *format,...)
 
PHPAPI void php_openlog (const char *, int, int)
 
PHPAPI void php_closelog (void)
 

Macro Definition Documentation

◆ PHP_SYSLOG_FILTER_ALL

#define PHP_SYSLOG_FILTER_ALL   0

Definition at line 32 of file php_syslog.h.

◆ PHP_SYSLOG_FILTER_ASCII

#define PHP_SYSLOG_FILTER_ASCII   2

Definition at line 34 of file php_syslog.h.

◆ PHP_SYSLOG_FILTER_NO_CTRL

#define PHP_SYSLOG_FILTER_NO_CTRL   1

Definition at line 33 of file php_syslog.h.

◆ PHP_SYSLOG_FILTER_RAW

#define PHP_SYSLOG_FILTER_RAW   3

Definition at line 35 of file php_syslog.h.

Function Documentation

◆ php_closelog()

PHPAPI void php_closelog ( void )

Definition at line 80 of file php_syslog.c.

◆ php_openlog()

PHPAPI void php_openlog ( const char * ident,
int option,
int facility )

Definition at line 74 of file php_syslog.c.

◆ php_syslog()

PHPAPI void php_syslog ( int priority,
const char * format,
... )

Definition at line 106 of file php_syslog.c.

◆ php_syslog_str()

PHPAPI void php_syslog_str ( int priority,
const zend_string * message )

Definition at line 35 of file php_syslog.c.