|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "fpm_config.h"#include <stdio.h>#include <unistd.h>#include <time.h>#include <string.h>#include <stdarg.h>#include <sys/time.h>#include <errno.h>#include "php_syslog.h"#include "zlog.h"#include "fpm.h"#include "zend_portability.h"Go to the source code of this file.
Macros | |
| #define | MAX_BUF_LENGTH 2048 |
| #define | MAX_WRAPPING_PREFIX_LENGTH 512 |
| #define | EXTRA_SPACE_FOR_PREFIX 128 |
Functions | |
| void | zlog_set_external_logger (void(*logger)(int, char *, size_t)) |
| const char * | zlog_get_level_name (int log_level) |
| void | zlog_set_launched (void) |
| size_t | zlog_print_time (struct timeval *tv, char *timebuf, size_t timebuf_len) |
| int | zlog_set_fd (int new_fd, zlog_bool is_stderr) |
| int | zlog_set_level (int new_value) |
| int | zlog_set_limit (int new_value) |
| int | zlog_set_buffering (zlog_bool buffering) |
| void | vzlog (const char *function, int line, int flags, const char *fmt, va_list args) |
| void | zlog_ex (const char *function, int line, int flags, const char *fmt,...) |
| void | zlog_msg_ex (const char *function, int line, int flags, const char *prefix, const char *msg) |
| void | zlog_stream_init (struct zlog_stream *stream, int flags) |
| void | zlog_stream_init_ex (struct zlog_stream *stream, int flags, int fd) |
| void | zlog_stream_set_decorating (struct zlog_stream *stream, zlog_bool decorate) |
| void | zlog_stream_set_wrapping (struct zlog_stream *stream, zlog_bool wrap) |
| void | zlog_stream_set_is_stdout (struct zlog_stream *stream, zlog_bool is_stdout) |
| void | zlog_stream_set_child_pid (struct zlog_stream *stream, int child_pid) |
| void | zlog_stream_set_msg_quoting (struct zlog_stream *stream, zlog_bool quote) |
| zlog_bool | zlog_stream_set_msg_prefix (struct zlog_stream *stream, const char *fmt,...) |
| zlog_bool | zlog_stream_set_msg_suffix (struct zlog_stream *stream, const char *suffix, const char *final_suffix) |
| ssize_t | zlog_stream_prefix_ex (struct zlog_stream *stream, const char *function, int line) |
| ssize_t | zlog_stream_vformat (struct zlog_stream *stream, const char *fmt, va_list args) |
| ssize_t | zlog_stream_format (struct zlog_stream *stream, const char *fmt,...) |
| ssize_t | zlog_stream_str (struct zlog_stream *stream, const char *str, size_t str_len) |
| zlog_bool | zlog_stream_finish (struct zlog_stream *stream) |
| void | zlog_stream_destroy (struct zlog_stream *stream) |
| zlog_bool | zlog_stream_close (struct zlog_stream *stream) |
| void vzlog | ( | const char * | function, |
| int | line, | ||
| int | flags, | ||
| const char * | fmt, | ||
| va_list | args ) |
| void zlog_ex | ( | const char * | function, |
| int | line, | ||
| int | flags, | ||
| const char * | fmt, | ||
| ... ) |
| void zlog_msg_ex | ( | const char * | function, |
| int | line, | ||
| int | flags, | ||
| const char * | prefix, | ||
| const char * | msg ) |
| size_t zlog_print_time | ( | struct timeval * | tv, |
| char * | timebuf, | ||
| size_t | timebuf_len ) |
| zlog_bool zlog_stream_close | ( | struct zlog_stream * | stream | ) |
| void zlog_stream_destroy | ( | struct zlog_stream * | stream | ) |
| zlog_bool zlog_stream_finish | ( | struct zlog_stream * | stream | ) |
| ssize_t zlog_stream_format | ( | struct zlog_stream * | stream, |
| const char * | fmt, | ||
| ... ) |
| void zlog_stream_init | ( | struct zlog_stream * | stream, |
| int | flags ) |
| void zlog_stream_init_ex | ( | struct zlog_stream * | stream, |
| int | flags, | ||
| int | fd ) |
| ssize_t zlog_stream_prefix_ex | ( | struct zlog_stream * | stream, |
| const char * | function, | ||
| int | line ) |
| void zlog_stream_set_child_pid | ( | struct zlog_stream * | stream, |
| int | child_pid ) |
| void zlog_stream_set_decorating | ( | struct zlog_stream * | stream, |
| zlog_bool | decorate ) |
| void zlog_stream_set_is_stdout | ( | struct zlog_stream * | stream, |
| zlog_bool | is_stdout ) |
| zlog_bool zlog_stream_set_msg_prefix | ( | struct zlog_stream * | stream, |
| const char * | fmt, | ||
| ... ) |
| void zlog_stream_set_msg_quoting | ( | struct zlog_stream * | stream, |
| zlog_bool | quote ) |
| zlog_bool zlog_stream_set_msg_suffix | ( | struct zlog_stream * | stream, |
| const char * | suffix, | ||
| const char * | final_suffix ) |
| void zlog_stream_set_wrapping | ( | struct zlog_stream * | stream, |
| zlog_bool | wrap ) |
| ssize_t zlog_stream_str | ( | struct zlog_stream * | stream, |
| const char * | str, | ||
| size_t | str_len ) |
| ssize_t zlog_stream_vformat | ( | struct zlog_stream * | stream, |
| const char * | fmt, | ||
| va_list | args ) |