프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$ALLOWED_LOG_LEVELS | |||
$log_level |
메소드 | 설명 | |
---|---|---|
setLogLevel ( string $level ) | Set the level at which to log, which must be one of the constants defined in the PSR\Log\LogLevel class. Should be called externally or in the experiment setup() method so that the level is set before the logger gets instantiated. |
메소드 | 설명 | |
---|---|---|
_configureLogger ( ) | PSR logger configuration can either be done outside of the experiment class or within this method if overriden. Either way, the initialized logger should be passed to the experiment via the LoggerAwareTrait's setLogger() method. | |
_log ( array $data ) | Use the logging instance to log an optional message as well as exposure data. The log level may be set by the included setLogLevel() method. | |
_previouslyLogged ( ) | Assume data has never been logged before and this is the first time we are seeing the inputs/outputs given (can be overriden if needed). |
protected _configureLogger ( ) |
protected _previouslyLogged ( ) |
public setLogLevel ( string $level ) | ||
$level | string | PSR level at which to log |