Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 815 Bytes

File metadata and controls

15 lines (10 loc) · 815 Bytes

#Packfire Logger

Build Status Latest Stable Version Total Downloads

Logger provides simplest log file implementation of the LoggerInterface provided by PHP Framework Interop Group .

In this library, Packfire\Logger\File is provided to write log entries to a file based on the interface provided by Psr\Log\LoggerInterface.

<?php
use Packfire\Logger\File as Logger;

$logger = new Logger('app.log');
$logger->info('Setting up the application');