Skip to content

Add logging hooks #312

@joshuasing

Description

@joshuasing

Confirmation

  • I have checked for similar issues.

Problem

There is currently no way for plugins using Chameleon to capture or process log messages.

Suggested solution

I think it would be helpful if Chameleon added a way for users to add "logging hooks" that could process log messages.

These hooks could be used for logging messages to a file, or preventing certain messages from being logged conditionally.
This would also be helpful for plugins that have custom debugging systems, allowing the plugin to capture error logs and store them else where for more visibility.

Additional information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions