Skip to content

Commit e93c136

Browse files
committed
Use one logger for the lib
1 parent f60a7fb commit e93c136

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

async_substrate_interface/async_substrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
ResultHandler = Callable[[dict, Any], Awaitable[tuple[dict, bool]]]
6363

64-
logger = logging.getLogger("AsyncSubstrateInterface.async_substrate")
64+
logger = logging.getLogger("async_substrate_interface")
6565

6666

6767
class AsyncExtrinsicReceipt:

async_substrate_interface/sync_substrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
ResultHandler = Callable[[dict, Any], tuple[dict, bool]]
4343

44-
logger = logging.getLogger("AsyncSubstrateInterface.sync_substrate")
44+
logger = logging.getLogger("async_substrate_interface")
4545

4646

4747
class ExtrinsicReceipt:

async_substrate_interface/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from scalecodec.types import GenericCall, ScaleType
1515

1616

17-
logger = logging.getLogger("AsyncSubstrateInterface.types")
17+
logger = logging.getLogger("async_substrate_interface")
1818

1919

2020
class RuntimeCache:

0 commit comments

Comments
 (0)