Skip to content

Commit 525336f

Browse files
authored
Merge pull request #469 from rust-lang/KodrAus-patch-1
Add a note about use in dynamic libraries
2 parents a08b170 + 2d9df51 commit 525336f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ There are many available implementations to choose from, here are some of the mo
7878
* [`win_dbg_logger`](https://docs.rs/win_dbg_logger/*/win_dbg_logger/)
7979
* For WebAssembly binaries:
8080
* [`console_log`](https://docs.rs/console_log/*/console_log/)
81+
* For dynamic libraries:
82+
* You may need to construct [an FFI-safe wrapper over `log`](https://github.com/rust-lang/log/issues/421) to initialize in your libraries.
8183

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

0 commit comments

Comments
 (0)