Skip to content

Commit

Permalink
chore(logger): set basic config for module only
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Oct 15, 2024
1 parent f7352ca commit 5384431
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions neuroml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
from .__version__ import current_neuroml_version as current_neuroml_version
from .nml.nml import * # allows importation of all neuroml classes

logging.basicConfig(
logger = logging.getLogger(__name__)
logger.basicConfig(
format="libNeuroML >>> %(levelname)s - %(message)s",
level=logging.WARN,
)

logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)


Expand Down

0 comments on commit 5384431

Please sign in to comment.