Allow broadcasting to a specific log channel (#40)

* Allow broadcasting to a specific log channel

* Fix  check condition

* Update src/ConnectionManager.php

* Update config/mqtt-client.php

---------

Co-authored-by: Namoshek <Namoshek@users.noreply.github.com>
This commit is contained in:
bsdnomad
2023-05-15 21:04:29 +03:00
committed by GitHub
parent 0669643386
commit b059586d08
2 changed files with 9 additions and 0 deletions

View File

@ -55,6 +55,10 @@ return [
// with the log level as configured.
'enable_logging' => env('MQTT_ENABLE_LOGGING', true),
// Which logging channel to use for logs produced by the MQTT client.
// If left empty, the default log channel or stack is being used.
'log_channel' => env('MQTT_LOG_CHANNEL', null),
// Defines which repository implementation shall be used. Currently,
// only a MemoryRepository is supported.
'repository' => MemoryRepository::class,