thulin82/clog

PHP classes for logging framework

Maintainers

Details

github.com/thulin82/clog

Source

Issues

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/thulin82/clog

v1.0 2016-09-29 13:37 UTC

This package is not auto-updated.

Last update: 2026-01-04 02:32:35 UTC


README

GitHub Actions

Using CLog in Anax-MVC

First update your composer.json with the following:

    "require": {
        "thulin82/clog": "dev-master"
    },

Then update with:

composer update

To add CLog, the easiest way is either add it as a shared service:

$this->setShared('log', function () {
    $log = new \thulin82\CLog\CLog();
    return $log;
});

or to initialize it when/where you need it:

$log = new \thulin82\CLog\CLog();

Examples

An example file is located in webroot/CLogExample.php to show off the different ways you can use CLog

Docker

Build

docker build -t clog .