2017 © Pedro Peláez
 

library logger

ATK14 Logger provides logging infrastructure for the ATK14 Framework

image

atk14/logger

ATK14 Logger provides logging infrastructure for the ATK14 Framework

  • Tuesday, May 22, 2018
  • by yarri
  • Repository
  • 2 Watchers
  • 0 Stars
  • 408 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 12 % Grown

The README.md

ATK14 Logger

ATK14 Logger provides logging infrastructure for the ATK14 Framework., (*1)

Basic usage

define("LOGGER_DEFAULT_LOG_FILE","/path/to/app/log/log");
define("LOGGER_DEFAULT_NOTIFY_EMAIL","webmaster@example.com");

$logger = new Logger("import_articles");

// do something

$logger->info("Total articles to import ".sizeof($articles));

// in order to write buffered messages to a file, just call flush() method
$logger->flush();

// a the end of a script call flushAll();
$logger->flushAll();

Levels of messages importance

$logger->debug("some debug information");
$logger->info("a message");
$logger->warn("a warning");
$logger->error("error message");
$logger->security("a security message");

The Versions

22/05 2018

dev-master

9999999-dev https://github.com/atk14/Logger

ATK14 Logger provides logging infrastructure for the ATK14 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

logger atk14

01/12 2017

v0.1

0.1.0.0 https://github.com/atk14/Logger

ATK14 Logger provides logging infrastructure for the ATK14 Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

logger atk14