Files
Malin f3ff7b7186 feat: initial ACRIB WordPress deployment
- WordPress 6.9.4 (es_ES) with Kadence theme
- Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto
- Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold
- Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI)
- Plugins: Kadence Blocks, Polylang, Contact Form 7
- Custom CSS with full brand styling and responsive layout
- HTTPS enforced via wp-config.php proxy detection
2026-05-19 19:25:59 +02:00
..

Prophecy Log

⚠️ This is a read-only repository! For pull requests or issues, see stellarwp/prophecy-monorepo.

A logging library using Monolog that implements the Psr\Log\LoggerInterface interface.

Installation

Update your composer.json and add the following to your repositories object:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:stellarwp/prophecy-container.git"
        },
        {
            "type": "vcs",
            "url": "git@github.com:stellarwp/prophecy-log.git"
        }
    ]
}

Then, install:

composer require stellarwp/prophecy-log

If using the di52 container, create a config.php and register it in the container with:

$this->container->bind(Dot::class, new Dot(require_once dirname(__FILE__) . '/config.php'));

The config.php file map environment variables, either from an .env file or manually set, e.g.

<?php declare(strict_types=1);

return [
	'log'             => [
		'level'    => $_ENV['APP_LOG_LEVEL'] ?? 'debug',
		'channel'  => $_ENV['APP_LOG_CHANNEL'] ?? 'null', // console, errorlog, stack (both console and errorlog) or null
		'channels' => [
			'errorlog' => [],
			'console'  => [
				'with' => [
					'stream' => 'php://stdout',
				],
			],
			'stack'    => [
				'with' => [
					'stream' => 'php://stdout',
				],
			],
		],
	],
];

Then, include the LogProvider.php in your application and call the register method. Anytime you inject a Psr\Log\LoggerInterface instance into another class, it will use your provided configuration.