PHPackages                             intelligent-intern/default-log-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. intelligent-intern/default-log-bundle

ActiveIntelligent-intern-bundle[Logging &amp; Monitoring](/categories/logging)

intelligent-intern/default-log-bundle
=====================================

Symfony bundle for default logging integration

1.0.0(1y ago)037MITPHPPHP ^8.2

Since Mar 2Pushed 1y agoCompare

[ Source](https://github.com/Intelligent-Intern/default-log-bundle)[ Packagist](https://packagist.org/packages/intelligent-intern/default-log-bundle)[ RSS](/packages/intelligent-intern-default-log-bundle/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Intelligent Intern Default Log Bundle
=====================================

[](#intelligent-intern-default-log-bundle)

The `intelligent-intern/default-log-bundle` provides a default logging implementation for the [Intelligent Intern Core Framework](https://github.com/Intelligent-Intern/core), ensuring basic logging functionality when no other logging strategy is installed.

Installation
------------

[](#installation)

Install the bundle using Composer:

```
composer require intelligent-intern/default-log-bundle
```

Configuration
-------------

[](#configuration)

Ensure the following secret is set in vault:

```
secret/data/data/config:
  LOG_TARGET: default
```

Usage
-----

[](#usage)

Once the bundle is installed and configured, the Core framework will dynamically detect the Default logging service via the `log.strategy` tag.

The service will be available via the `LoggerInterface`, which will be injected automatically. Here's an example with a `/logtest` route:

```
