Skip to content

Conversation

AbdElrahmaN31
Copy link

@AbdElrahmaN31 AbdElrahmaN31 commented Feb 27, 2025

Title: Support class-based logObject resolution in logging

Description:
This PR enhances the logging configuration by allowing logObject to be defined as a class reference (e.g., \App\Logging\ElasticsearchLogger::class). It ensures that class references are automatically resolved using app($logObject), while maintaining support for direct LoggerInterface instances and file-based logging (logPath & logLevel).

Checklist:

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant