定制 synaptic4u/logging 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

synaptic4u/logging

最新稳定版本:1.4.0

Composer 安装命令:

composer require synaptic4u/logging

包简介

Custom logging class able to log to files and database

README 文档

README

Logging in a simplified way to a file or DB.

Table of Contents

Introduction

This project provides a simplified logging mechanism that allows you to log messages to a file or a database. It is designed to be easy to integrate into your existing applications.

Features

  • Log messages to a file
  • Log messages to a database
  • Configurable logging levels (e.g., DEBUG, INFO, WARN, ERROR)
  • Easy to set up and use

Installation

To install the logging library, you can use composer: The followig are cofiguratio files supported. Please add them to project directory.

vendor/synaptic4u/logging/tests/.env

vendor/synaptic4u/logging/tests/config.json

Rename configNested.json to config.json for testing

vendor/synaptic4u/logging/tests/configNested.json

composer install syaptic4u/logging

composer dump-autoload -o

composer exec install

Then follow the prompts.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-03