Logger
    
            
            in package
            
        
    
    
    
DB Logger class.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
 - Class constructor.
 - queryLog() : void|null
 - Log the DB statement query.
 
Properties
$Container
    protected
        Container
    $Container
    
    
    
    
    
Methods
__construct()
Class constructor.
    public
                    __construct(Container $Container) : mixed
    Parameters
- $Container : Container
 - 
                    
The DI container class.
 
queryLog()
Log the DB statement query.
    public
                    queryLog(string $statement[, mixed $inputParams = null ][, mixed $inputDataTypes = null ]) : void|null
    Parameters
- $statement : string
 - 
                    
The DB statement.
 - $inputParams : mixed = null
 - 
                    
The input parameters from
bindXXX(),execute(). This value can benull. - $inputDataTypes : mixed = null
 - 
                    
The input data type from
bindXXX(). This value can benull. 
Return values
void|null —Return nothing (void) or maybe return null if config was set to do not write log and profiler is disabled.