synaptic4u/logging

Custom logging class able to log to files and database

Fund package maintenance!
Patreon

Installs: 48

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/synaptic4u/logging

1.4.0 2025-04-18 12:17 UTC

This package is auto-updated.

Last update: 2025-12-07 10:31:41 UTC


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.