volta-framework/component-logging 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

volta-framework/component-logging

最新稳定版本:v1.0.0

Composer 安装命令:

composer require volta-framework/component-logging

包简介

Logging based on the Psr/Log Interfaces

README 文档

README

Volta Component Logging

Component used for logging information.

The component is based on the Psr\Log Interfaces. For more information about these interfaces see https://www.php-fig.org/psr/psr-3/.

classDiagram
    direction BT 
    
    class Spl_Exception
    class Spl_Stringable { <<interface>> }
    class Spl_Throwable { <<interface>> }
    class Psr_Log_LoggerInterface { <<interface>> }
    class Psr_Log_LoggerTrait { <<trait>> }
    class Volta_Component_Logging_Exception 
    class Volta_Component_Logging_BaseLogger {
        +setLevels(string[]):void
        +getLevels():string[]
        +hasLevel(string $level):bool
    }
    class Volta_Component_Logging_ConsoleLogger { 
        +__construct(string[] levels) 
    }  
    class Volta_Component_Logging_FileLogger { 
        +__construct(string path, bool create=true)
        +__destruct()  
    }   
    class Volta_Component_Logging_PassthroughLogger { 
        +__construct(mixed callback)  
    }    
    style Psr_Log_LoggerTrait opacity: 0.2 
    style Psr_Log_LoggerInterface opacity: 0.2  
    style Spl_Throwable opacity: 0.2  
    style Spl_Stringable opacity: 0.2  
    style Spl_Exception opacity: 0.2
    style Volta_Component_Logging_Exception stroke:#FFa500 
    style Volta_Component_Logging_BaseLogger stroke:#FFa500 
    style Volta_Component_Logging_FileLogger stroke:#FFa500 
    style Volta_Component_Logging_ConsoleLogger stroke:#FFa500 
    style Volta_Component_Logging_PassthroughLogger stroke:#FFa500 
 
    Volta_Component_Logging_ConsoleLogger--|>Volta_Component_Logging_BaseLogger: extends
    Volta_Component_Logging_FileLogger--|>Volta_Component_Logging_BaseLogger: extends
    Volta_Component_Logging_PassthroughLogger--|>Volta_Component_Logging_BaseLogger: extends 
    Volta_Component_Logging_BaseLogger<|..Psr_Log_LoggerInterface: implements
    Volta_Component_Logging_BaseLogger<..Psr_Log_LoggerTrait: uses
    Spl_Exception<|--Volta_Component_Logging_Exception: extends
    Spl_Stringable..|>Spl_Throwable: implements
    Spl_Throwable..|>Spl_Exception: implements
    
Loading

统计信息

  • 总下载量: 31
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-02