woocommerce_logger_log_message

woocommerce_logger_log_message

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_logger_log_message') is found 1 times:

  • /includes/class-wc-logger.php line 186
    				 * @param string $level   One of: emergency, alert, critical, error, warning, notice, info, or debug.
    				 * @param array  $context Additional information for log handlers.
    				 * @param object $handler The handler object, such as WC_Log_Handler_File. Available since 5.3.
    				 */
    				$filtered_message = apply_filters( 'woocommerce_logger_log_message', $message, $level, $context, $handler );
    
    				if ( null !== $filtered_message ) {
    					$handler->handle( $timestamp, $level, $filtered_message, $context );
    				}
    			}
    		}