Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c80c232 + 2b2640f commit b19eb85Copy full SHA for b19eb85
uefi/src/helpers/logger.rs
@@ -19,14 +19,12 @@ use core::ptr;
19
use core::sync::atomic::{AtomicPtr, Ordering};
20
21
/// Global logger object
22
-#[cfg(feature = "logger")]
23
static LOGGER: Logger = Logger::new();
24
25
/// Set up logging
26
///
27
/// This is unsafe because you must arrange for the logger to be reset with
28
/// disable() on exit from UEFI boot services.
29
30
pub unsafe fn init(st: &mut SystemTable<Boot>) {
31
// Connect the logger to stdout.
32
LOGGER.set_output(st.stdout());
0 commit comments