You've already forked Php-Template
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m1s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m16s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m13s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 3m5s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m11s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m51s
Reviewed-on: #14 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
37 lines
1.3 KiB
PHP
37 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Siteworxpro\App\Services\Facades;
|
|
|
|
use Siteworxpro\App\Services\Facade;
|
|
|
|
/**
|
|
* Class Logger
|
|
*
|
|
* This class serves as a facade for the Monolog logger.
|
|
* It extends the Facade class from the Illuminate\Support\Facades namespace.
|
|
*
|
|
* @method static debug(\Stringable|string $message, array $context = []) Log an informational message.
|
|
* @method static info(\Stringable|string $message, array $context = []) Log an informational message.
|
|
* @method static error(\Stringable|string $message, array $context = []) Log an error message.
|
|
* @method static warning(\Stringable|string $message, array $context = []) Log a warning message.
|
|
* @method static critical(\Stringable|string $message, array $context = []) Log a critical error message.
|
|
* @method static alert(\Stringable|string $message, array $context = []) Log an alert message.
|
|
* @method static emergency(\Stringable|string $message, array $context = []) Log an emergency message.
|
|
*
|
|
* @package Siteworxpro\App\Facades
|
|
*/
|
|
class Logger extends Facade
|
|
{
|
|
/**
|
|
* Get the registered name of the component.
|
|
*
|
|
* @return string The name of the component.
|
|
*/
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return \Siteworxpro\App\Log\Logger::class;
|
|
}
|
|
}
|