Skip to content

PortaltechGithub/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kai Richter \ Logger

This logger is based on the PSR-3 Logger Interface and enables simultaneous logging into multiple destinations, such as file, MongoDB, Slack, ...

Documentation

You can find all information on using the Logger in the Wiki under: https://github.com/kairichter/logger/wiki

Prerequisites

Other Versions

You can find the Logger adapted for other PHP versions in the following branches:

Installation

Through Composer, obviously:

composer require kairichter/logger

Examples

In vendor/kairichter/logger/examples/ you will find a detailed example of how to set up and use the Logger:

cd vendor/kairichter/logger/examples;
php quickstart.php
ls -lah

After the execution, a new file example-YYYY-MM-DD.log will be located in the new directory logs. This contains the log outputs of the file logger.

About

General logger based on the PSR-3 logger interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages