Skip to content

Use named logger instead of root logger #205

Description

@Breakthrough

Currently, PySceneDetect uses the root logger with a basic configuration. It should be replaced with an explicitly named logger instead to avoid conflicts with other projects using scenedetect as a dependency.

Furthermore, some objects/functions take explicit logger objects as an argument. Modify them to use the named logger instead.

Lastly, ensure that when the package is imported, the named logger is instantiated immediately but with the highest warning level. Only override it when instantiating the CLI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions