Download the PHP package contaoblackforest/contao-logger without Composer

On this page you can find all versions of the php package contaoblackforest/contao-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 contao-logger

Build Status

Logger bridge for Contao Open Source CMS

This bridge provide PSR-3 logger support for Contao Open Source CMS. The logger is available via the dependency injection container.

By default the logger use two handlers.

By default it use Monolog as implementation, but it is designed to be replaceable with any PSR-3 compatible logger implementation.

Access and use the logger

Logger configuration

Receive and change the default log level

Define default log handlers

The default log handlers are stored in $container['logger.default.handlers'] containing a list of handler services.

Create your own logger

Reference

Services

$container['logger.default.level']

(int) the default log level, default: Psr\Log\LogLevel::INFO

$container['logger.default.level.contao']

(int) the default log level, inherited from $container['logger.default.level']

$container['logger.default.level.buffer']

(int) the default log level, inherited from $container['logger.default.level']

$container['logger.default.level.chromePhp']

(int) the default log level, inherited from $container['logger.default.level']

$container['logger.default.level.firePhp']

(int) the default log level, inherited from $container['logger.default.level']

$container['logger.default.level.rotatingFile']

(int) the default log level, inherited from $container['logger.default.level']

$container['logger.default.level.mail']

(int) the default log level, default: Psr\Log\LogLevel::ERROR

$container['logger.default.level.stream']

(int) the default log level, inherited from $container['logger.default.level']

$container['logger.default.rotation']

(int) number of days for log rotation, default: 28

$container['logger.handler.contao']

(Monolog\Handler\HandlerInterface|Logger\ContaoHandler) default contao syslog handler

$container['logger.handler.stream']

(Monolog\Handler\HandlerInterface|Monolog\Handler\RotatingFileHandler) default rotating logfile (system/logs/contao-Y-m-d.log) handler

$container['logger.default.handlers']

(ArrayObject) list of default log handlers

$container['logger']

(Psr\Log\LoggerInterface|Monolog\Logger) the default logger

Factories

$container['logger.factory.handler.contao']

$container['logger.factory.handler.buffer']

$container['logger.factory.handler.chromePhp']

$container['logger.factory.handler.fingersCrossed']

$container['logger.factory.handler.firePhp']

$container['logger.factory.handler.group']

$container['logger.factory.handler.rotatingFile']

$container['logger.factory.handler.mail']

$container['logger.factory.handler.stream']

$container['logger.factory']


All versions of contao-logger with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
contao/core Version >=2.11.11,<4-dev
contao-community-alliance/composer-plugin Version ~2.0
contao-community-alliance/dependency-container Version ~1.0
psr/log Version ~1.0
monolog/monolog Version ~1.5
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 contaoblackforest/contao-logger contains the following files

Loading the files please wait ....