Download the PHP package super-kernel/logger without Composer

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

English | 中文文档

# super-kernel/logger **Log component of SuperKernel framework** [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) [![PHP](https://img.shields.io/badge/PHP-%3E%3D8.4-blue)](https://www.php.net/) [![Monolog](https://img.shields.io/badge/monolog-^3.9-orange)](https://github.com/Seldaek/monolog) [![SuperKernel](https://img.shields.io/badge/super--kernel-core-lightgrey)](https://github.com/super-kernel)

Overview

super-kernel/logger is the official logging component of SuperKernel, providing two types of logging capabilities:

This component conforms to the psr/log standard and is seamlessly integrated with SuperKernel's dependency injection system and configuration system.


Installation

Configuration

This component only scans properties with public visibility in classes annotated with #[Configuration(LoggerConfigInterface::class)].

Single handler configuration

Multiple handler configurations

🚀 Example

Standard output log

Standard output log

Advanced

The logs output by framework components are standard output logs. We generally believe that such log output does not need to be recorded, but developers who have such needs can consider the following method:

nohup

After exiting the terminal, the process continues to run in the background, and standard output logs will be written to output.log.

setsid

Similar to nohup, but it does not inherit the original terminal's session ID, thus more completely detaching from the controlling terminal.

Override the LoggerInterface class provider

More usage

Please visit Visit monolog/monolog to learn more.


All versions of logger with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
psr/log Version ^3.0
monolog/monolog Version ^3.9
symfony/console Version ^7.3
super-kernel/contract Version *
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 super-kernel/logger contains the following files

Loading the files please wait ...