PHPackages                             intelligent-intern/loki-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. [API Development](/categories/api)
4. /
5. intelligent-intern/loki-bundle

ActiveIntelligent-intern-bundle[API Development](/categories/api)

intelligent-intern/loki-bundle
==============================

Symfony bundle for Loki integration

1.0.0(1y ago)037MITPHPPHP ^8.2

Since Mar 2Pushed 1y agoCompare

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

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

Intelligent Intern Loki Bundle
==============================

[](#intelligent-intern-loki-bundle)

The `intelligent-intern/loki-bundle` integrates Loki with the [Intelligent Intern Core Framework](https://github.com/Intelligent-Intern/core), providing a powerful and extensible logging solution.

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

[](#installation)

Install the bundle using Composer:

```
composer require intelligent-intern/loki-bundle
```

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

[](#configuration)

Ensure the following secret is set in vault:

```
secret/data/data/config:
  LOG_TARGET: loki
```

And add the detailed Loki configuration:

```
secret/data/data/loki:
  url: your_loki_url
  token: your_loki_token
  log_level: your_log_level
```

Usage
-----

[](#usage)

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

The service will be available via the `LogServiceFactory`:

```
