Skip to content

Commit

Permalink
add a note about use in dynamic libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus authored Nov 15, 2021
1 parent a08b170 commit 2d9df51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ There are many available implementations to choose from, here are some of the mo
* [`win_dbg_logger`](https://docs.rs/win_dbg_logger/*/win_dbg_logger/)
* For WebAssembly binaries:
* [`console_log`](https://docs.rs/console_log/*/console_log/)
* For dynamic libraries:
* You may need to construct [an FFI-safe wrapper over `log`](https://github.com/rust-lang/log/issues/421) to initialize in your libraries.

Executables should choose a logger implementation and initialize it early in the
runtime of the program. Logger implementations will typically include a
Expand Down

0 comments on commit 2d9df51

Please sign in to comment.