Download the PHP package ultimadark/logger without Composer

On this page you can find all versions of the php package ultimadark/logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package logger

CLog - A class for logging timestamps

Build Status Scrutinizer Code Quality Code Coverage

A logging class written as part of a web programming course. Can easily be used with the Anax web framework.

The class CLog can be used to identify which parts of your PHP code are running slowly.

Use of CLog

Create a new CLog instance (optionally setting the decimal precision in the constructor). Then make timestamps in your code where you want to identify how fast/slowly your code is running. Finally, present your results as a table with the built in function timestampAsTable or fetch information about the timestamps with some of the other supplied methods.

The webroot folder contains an example file of how to use CLog in more detail.

Integrating CLog in Anax MVC

To integrate CLog with Anax MVC simple add the following line in your "required" part of the composer.json file.

Then update your composer dependencies by running composer update in your Anax MVC folder. The CLog class will be autoloaded if you want to create a new CLog object.

The easiest way to make your CLog object available during development is to load it as a service in your CDIFactoryDefault file (in the src/DI folder) like this:

The logger can then be accessed like any other loaded service.


All versions of logger with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ultimadark/logger contains the following files

Loading the files please wait ....