notepad_logger 0.1.1

Log to an open Notepad window on Windows
docs.rs failed to build notepad_logger-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

notepad_logger

A logger which puts its output to an open Notepad window. It specifically looks for the window by its title, which must be either Untitled - Notepad or *Untitled - Notepad. While there are basic assertions to make sure we aren't operating on null pointers, there are no other safety checks, nor do we check for the result.

This was written by someone who does not know the windows API or its invariants, and probably shouldn't actually be used for anything. This is just a fun toy based on https://www.reddit.com/r/programming/comments/gnazif/ray_tracing_in_notepadexe_at_30_fps/fr8uy2l/. This probably isn't thread safe.

License

Licensed under either of these: