You've already forked Php-Template
All checks were successful
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m53s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m4s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m7s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m57s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 2m44s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 52s
🏗️✨ Build Workflow / 🖥️ 🔨 Build (push) Successful in 3m13s
Reviewed-on: #4 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
35 lines
971 B
PHP
35 lines
971 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Siteworxpro\App\Services\Facades;
|
|
|
|
use RoadRunner\Logger\Logger as RRLogger;
|
|
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(string $message, array $context = []) Log an informational message.
|
|
* @method static info(string $message, array $context = []) Log an informational message.
|
|
* @method static error(string $message, array $context = []) Log an error message.
|
|
* @method static warning(string $message, array $context = []) Log a warning 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 RRLogger::class;
|
|
}
|
|
}
|