2017 © Pedro Peláez
 

library goma-logging

Goma logging gives some abilities for logging. It automatically adds output-logging if environment is command line.

image

goma/goma-logging

Goma logging gives some abilities for logging. It automatically adds output-logging if environment is command line.

  • Thursday, March 8, 2018
  • by daniel.gruber
  • Repository
  • 1 Watchers
  • 0 Stars
  • 668 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Goma Logging

GomaLogging provides logging functionality., (*1)

Methods

Logger::log($logString, $level) - Logs information, possible levels: * Logger::LOG_LEVEL_LOG * Logger::LOG_LEVEL_ERROR * Logger::LOG_LEVEL_DEBUG * Logger::LOG_LEVEL_PROFILE * Logger::LOG_LEVEL_SLOW_QUERY, (*2)

Levels can also be used together, for example: Logger::log("My Log Message", Logger::LOG_LEVEL_DEBUG | Logger::LOG_LEVEL_LOG) , (*3)

Configuration via composer.json

  • goma_log_folder: define own custom log-folder name in goma data directory. Default: logs

The Versions

08/03 2018

dev-master

9999999-dev

Goma logging gives some abilities for logging. It automatically adds output-logging if environment is command line.

  Sources   Download

LGPL-3.0

The Requires

 

by Goma Team