everton3x/logman

This package is abandoned and no longer maintained. No replacement package was suggested.

A logger manager.

v0.2.0 2020-05-23 17:23 UTC

This package is auto-updated.

Last update: 2021-04-27 15:42:31 UTC


README

Advanced PHP log manager.

Purpose

Implementing logging in our applications is very important, but it can be a tedious and complicated task at times.

With that in mind, LogMan was developed to offer the developer a simple to use interface, yet powerful in resources.

With LogMan it is possible to implement different levels of log in different formats, and still meet the PSR-3.

For details on the PSR-3 specification, please refer to the specification website.

Requiriments

For installing and using LogMan you will need:

Detailed requirements can be found at composer.json

Installation

The best way to install LogMan is through Composer:

composer require everton3x/logman

You can also clone the repository and install the dependencies with the composer:

git clone https://github.com/everton3x/logman.git

composer install

Or you can do everything manually. If you are willing to do that, it means you know how to do it;)

Usage

For usage examples, please refer to the examples directory

Documentation

The source code is all commented out. Documentation in other formats is on the way.

Changelog

next version

  • Logger on files
  • PHPUnit tests
  • More examples

version 0.2.0

  • Added context and template for messages support;

version 0.1.0

  • Initial release
  • Default Messenger
  • Logger for PHP STDOUT

How to contribute

Contributions are always welcome, whether with issues, with a pull request or a coffee. However to organize the mess a little, if you want to contribute with code, please follow the workflow:

  • Fork the repository.
  • Create a new branch for each feature or correction;
  • Submit a pull request.

Thank you!

Author

Everton da Rosa