Skip to content

Commit 02fe9d3

Browse files
authored
Update pytorch_lightning/__init__.py
1 parent c74b8e6 commit 02fe9d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytorch_lightning/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
# We are not importing the rest of the scikit during the build
2525
# process, as it may not be compiled yet
2626
else:
27-
import logging
28-
_logger = logging.getLogger("lightning")
27+
from logging import getLogger
28+
_logger = getLogger("lightning")
2929

3030
from .core import LightningModule
3131
from .trainer import Trainer

0 commit comments

Comments
 (0)