PHP 인터페이스 RedBeanPHP\Logger

Provides a uniform and convenient logging interface throughout RedBeanPHP.
저자: Gabor de Mooij and the RedBeanPHP Community
파일 보기 프로젝트 열기: gabordemooij/redbean 0 사용 예제들

공개 메소드들

메소드 설명
log ( ) : void A logger (for PDO or OCI driver) needs to implement the log method.

메소드 상세

log() 공개 메소드

The log method will receive logging data. Note that the number of parameters is 0, this means all parameters are optional and the number may vary. This way the logger can be used in a very flexible way. Sometimes the logger is used to log a simple error message and in other situations sql and bindings are passed. The log method should be able to accept all kinds of parameters and data by using functions like func_num_args/func_get_args.
public log ( ) : void
리턴 void