PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / trunk
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution vtrunk
2.0.1 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.9.0 2.0.0
solid-performance / src / Performance / Log / Log.php

Log.php in Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution trunk, at src/Performance/Log/Log.php

28 lines 690 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Log data using WordPress actions.
4 *
5 * @package SolidWP\Performance
6 */
7
8 declare( strict_types=1 );
9
10 namespace SolidWP\Performance\Log;
11
12 /**
13 * Log data using WordPress actions.
14 *
15 * @example do_action( Log::WARNING, 'Something is wrong!', [ 'additional data' ] );
16 */
17 final class Log {
18
19 public const EMERGENCY = 'solidwp/log/emergency';
20 public const ALERT = 'solidwp/log/alert';
21 public const CRITICAL = 'solidwp/log/critical';
22 public const ERROR = 'solidwp/log/error';
23 public const WARNING = 'solidwp/log/warning';
24 public const NOTICE = 'solidwp/log/notice';
25 public const INFO = 'solidwp/log/info';
26 public const DEBUG = 'solidwp/log/debug';
27 }
28