Skip to content

Commit 38e5022

Browse files
committed
Add logging import to logcat init script
Added the 'logging' module import to the logcat initialization script to ensure logging functionality is available during script execution.
1 parent 633f848 commit 38e5022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serious_python_android/lib/src/cpython.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Future<T> _enqueuePythonRun<T>(Future<T> Function() action) {
2828
}
2929

3030
const _logcatInitScript = r'''
31-
import sys
31+
import logging,sys
3232
3333
# Make this init idempotent across Dart isolate restarts.
3434
if not getattr(sys, "__serious_python_logcat_configured__", False):

0 commit comments

Comments
 (0)