Server IP : 66.29.132.124 / Your IP : 3.138.178.162 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/opt/alt/php83/usr/include/php/ext/psr/ |
Upload File : |
#ifndef PSR_LOG_H #define PSR_LOG_H #include "php.h" #include "php_psr.h" #define PHP_PSR_LOG_VERSION "1.0.0" #define PHP_PSR_LOG_VERSION_ID 10000 extern PHP_PSR_API zend_class_entry * PsrLogInvalidArgumentException_ce_ptr; extern PHP_PSR_API zend_class_entry * PsrLogLogLevel_ce_ptr; extern PHP_PSR_API zend_class_entry * PsrLogLoggerInterface_ce_ptr; extern PHP_PSR_API zend_class_entry * PsrLogLoggerAwareInterface_ce_ptr; extern PHP_PSR_API zend_class_entry * PsrLogAbstractLogger_ce_ptr; extern PHP_PSR_API zend_class_entry * PsrLogNullLogger_ce_ptr; extern PHP_PSR_API zend_class_entry * PsrLogLoggerTrait_ce_ptr; extern PHP_PSR_API zend_class_entry * PsrLogLoggerAwareTrait_ce_ptr; extern PHP_MINIT_FUNCTION(psr_log); #if PHP_VERSION_ID < 80000 #define PHP_PSR_CONTEXT_PARAM ZEND_ARG_ARRAY_INFO(0, context, 0) #else #define PHP_PSR_CONTEXT_PARAM ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, context, IS_ARRAY, 0, "[]") #endif PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, emergency, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, alert, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, critical, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, error, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, warning, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, notice, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, info, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, debug, 1) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerInterface, log, 2) ZEND_ARG_INFO(0, level) ZEND_ARG_INFO(0, message) PHP_PSR_CONTEXT_PARAM PHP_PSR_END_ARG_INFO() PHP_PSR_BEGIN_ARG_INFO(Log, LoggerAwareInterface, setLogger, 1) ZEND_ARG_OBJ_INFO(0, logger, Psr\\Log\\LoggerInterface, 0) PHP_PSR_END_ARG_INFO(); #endif /* PSR_LOG_H */ /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: * vim600: fdm=marker * vim: et sw=4 ts=4 */