WC_Logger::info()
Adds a info level message.
Interesting events. Example: User logs in, SQL logs.
Method of the class: WC_Logger{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Logger = new WC_Logger(); $WC_Logger->info( $message, $context );
- $message(string) (required)
- Message to log.
- $context(array)
- Log context.
Default: array()
Notes
- See: WC_Logger::log
WC_Logger::info() WC Logger::info code WC 9.4.2
public function info( $message, $context = array() ) { $this->log( WC_Log_Levels::INFO, $message, $context ); }