Cartflows_WC_Logger::add( string $handle, string $message, string $level = Cartflows_Log_Levels::NOTICE )
Add a log entry.
Description
This is not the preferred method for adding log messages. Please use log() or any one of the level methods (debug(), info(), etc.). This method may be deprecated in the future.
Parameters
- $handle
-
(string) (Required) File handle.
- $message
-
(string) (Required) Message to log.
- $level
-
(string) (Optional) Logging level.
Default value: Cartflows_Log_Levels::NOTICE
Return
(bool)
Source
File: classes/logger/class-cartflows-wc-logger.php