Skip to content

Set logging levels of imported modules #11

@suhas-sri-vaastav

Description

@suhas-sri-vaastav

Set logging levels of imported modules

Allow programs using logician to set logging levels of the modules that:

  • Are imported in the current module
  • Use logician themselves

Motivation

It should be possible for programs to set logging levels of the programs/modules that they import.

Proposal

Provaide a method, maybe, imported_modules_lc() that takes a dict of module name and logging level to set the logging levels of the modules that are imported by the current module.

This inherently respects parent-child relationships of the imported modules loggers.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions