You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,10 @@
1
1
# pydbugstring
2
2
3
-
Provides a function to call Windows OutputDebugString with any Python Object.
4
-
Provides a handler for the Python Logging Module which sends logging to OutputDebugString.
3
+
Provides a function OutputDebugString to call:
4
+
- on win32 platforms, calls the ctypes.windll.kernel32.OutputDebugStringW with any Python Object, after converting that object to a string.
5
+
- on other platforms, converts the argument to a string and discards it, returns 0
6
+
7
+
Provides a handler for the Python Logging Module which sends logging to OutputDebugString. On platforms other than win32, the logging output is disccarded.
5
8
6
9
7
10
The output can be viewed using the [DebugView](https://learn.microsoft.com/en-us/sysinternals/downloads/debugview) program from the SysInternals package from Microsoft.
0 commit comments