# solid-performance/1.5.0/src/Performance/Log/Log.php

Solid Performance – Your No-Code Caching, Performance, &amp; Page Speed Solution, version 1.5.0. 28 lines.

- Page: https://pluginprobe.com/plugins/solid-performance/1.5.0/code/src/Performance/Log/Log.php
- Raw: https://pluginprobe.com/plugins/solid-performance/1.5.0/raw/src/Performance/Log/Log.php
- Modified: 2025-02-13T01:04:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/solid-performance/1.5.0/code/src/Performance/Log/Log.php#L10-L20`.

```php
<?php
/**
 * Log data using WordPress actions.
 *
 * @package SolidWP\Performance
 */

declare( strict_types=1 );

namespace SolidWP\Performance\Log;

/**
 * Log data using WordPress actions.
 *
 * @example do_action( Log::WARNING, 'Something is wrong!', [ 'additional data' ] );
 */
final class Log {

	public const EMERGENCY = 'solidwp/log/emergency';
	public const ALERT     = 'solidwp/log/alert';
	public const CRITICAL  = 'solidwp/log/critical';
	public const ERROR     = 'solidwp/log/error';
	public const WARNING   = 'solidwp/log/warning';
	public const NOTICE    = 'solidwp/log/notice';
	public const INFO      = 'solidwp/log/info';
	public const DEBUG     = 'solidwp/log/debug';
}

```
