-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2f08c2
commit 0a3d258
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
|
||
import network | ||
import logging | ||
|
||
from netx import conftest.py | ||
|
||
logger = logging.getLogger(__name__) | ||
handler = logging.StreamHandler() | ||
formatter = logging.Formatter( | ||
'%(asctime)s %(name)-12s %(levelname)-8s %(message)s') | ||
handler.setFormatter(formatter) | ||
logger.addHandler(handler) | ||
logger.subLogger(logger) | ||
logger.setLevel(logging.INFO) |