Command.php
1 month ago
DB.php
1 month ago
Date.php
2 weeks ago
Event.php
2 weeks ago
File.php
1 month ago
Guard.php
1 month ago
Http.php
1 month ago
Log.php
1 month ago
Option.php
1 month ago
Schema.php
1 month ago
Log.php
42 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Facade proxy for LogManager leveled file logging. |
| 5 | * Exposes debug, info, warning, error, and emergency static methods. |
| 6 | * Writes to the configured framework log file. |
| 7 | * |
| 8 | * @package Framework |
| 9 | * @subpackage Supports\Facades |
| 10 | * @since 1.0.0 |
| 11 | */ |
| 12 | namespace Kirki\Framework\Supports\Facades; |
| 13 | |
| 14 | \defined('ABSPATH') || exit; |
| 15 | use Kirki\Framework\Facade; |
| 16 | /** |
| 17 | * Facade proxy for LogManager leveled file logging. |
| 18 | * |
| 19 | * @method static void debug($message) |
| 20 | * @method static void info($message) |
| 21 | * @method static void warning($message) |
| 22 | * @method static void error($message) |
| 23 | * @method static void emergency($message) |
| 24 | * @method static void critical($message) |
| 25 | * @method static void alert($message) |
| 26 | * @see \Framework\Managers\LogManager |
| 27 | */ |
| 28 | class Log extends Facade |
| 29 | { |
| 30 | /** |
| 31 | * Get the accessor. |
| 32 | * |
| 33 | * @return mixed |
| 34 | * |
| 35 | * @since 1.0.0 |
| 36 | */ |
| 37 | public static function get_accessor() |
| 38 | { |
| 39 | return 'log'; |
| 40 | } |
| 41 | } |
| 42 |