Skip to content

Commit 22a0043

Browse files
committed
fix scripts to use logging
1 parent 1e19529 commit 22a0043

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

scripts/auto/anchor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
import sys
33

44
import IPython
5+
from loguru import logger
56

67
from chordnet._node import _Node as ChordNode
78

9+
logger.enable("chordnet")
10+
811

912
def main() -> None:
1013
"""Creates a new ring with this computer as the only node."""

scripts/auto/joiner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
import sys
33

44
import IPython
5+
from loguru import logger
56

67
from chordnet._node import _Node as ChordNode
78

9+
logger.enable("chordnet")
10+
811

912
def main() -> None:
1013
"""Creates a new ring with this computer as the only node."""

0 commit comments

Comments
 (0)