<?php
/**
 * Log Helper Class
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @package     bplan-base/globals
 * @subpackage  Support
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025, 2026 bplan-solutions GmbH & Co. KG <https://www.bplan-solutions.de/>
 * /Δ\
 */

namespace BplanBase\Globals\Support;


use Illuminate\Support\Facades\Log;
use Throwable;


/**
 * Log Helper Class
 *
 * Ergänzende Array-Hilfsmethoden, die in Laravel's Illuminate\Support\Arr
 * nicht vorhanden sind.
 *
 * @version     1.0.0 / 2025-05-10
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 */
class Log
{


/* +++ TRAITS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS CONSTANTS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT MEMBERS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS MEMBERS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT METHODS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS METHODS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


    /**
     *
     * @param       Throwable $Throwable
     *
     * @return 	    void
     *
     * @version     1.0.0 / 2025-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     */
    public static function logException(Throwable $Throwable): void
    {
        Log::error("Exception: {$Throwable->getMessage()}. File: {$Throwable->getFile()}. Line: {$Throwable->getLine()}");

    } // logException()


} // class Log {}
