1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
#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
*/
|