dev-master
9999999-devtravail/log-minimal
PHP-3.0
The Requires
dev-develop
dev-developtravail/log-minimal
PHP-3.0
The Requires
v0.1.0
0.1.0.0travail/log-minimal
PHP-3.0
The Requires
Wallogit.com
2017 © Pedro Peláez
travail/log-minimal
\Log\Minimal - Minimal but customizable logger., (*1)
use \Log\Minimal;
require_once '/path/to/vendor/autoload.php';
Minimal::critf('%s', 'foo'); // 2014-01-28T17:24:34 [CRITICAL] foo at example.php line 12
Minimal::warnf('%d %s %s', 1, 'foo', $uri);
Minimal::infof('foo');
Minimal::debugf('foo') // Print if \Log\Minimal::$debug is true
To install this package into your project via composer, add the following snippet to your composer.json. Then run composer install., (*2)
"require": {
"travail/log-minimal": "dev-master"
}
If you want to install from github, add the following:, (*3)
"repositories": [
{
"type": "vcs",
"url": "git@github.com:travail/php-Log-Minimal.git"
}
]
\Log\Minimal has the dependency on the following:, (*4)
void debugf(string $formatd [, mixed $args [, mixed $...]]), (*5)
void debugf(string $formatd [, mixed $args [, mixed $...]]), (*6)
void debugf(string $formatd [, mixed $args [, mixed $...]]), (*7)
void debugf(string $formatd [, mixed $args [, mixed $...]]), (*8)
The same as the built-in function sprintf., (*9)
travail, (*10)
Masahiro Nagano
Log::Minimal, (*12)
travail/log-minimal
PHP-3.0
travail/log-minimal
PHP-3.0
travail/log-minimal
PHP-3.0