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
pubfnlogger() -> &'staticdynLog{// Is it necessary to use Ordering::SeqCst in log!ifSTATE.load(Ordering::SeqCst) != INITIALIZED{staticNOP:NopLogger = NopLogger;&NOP}else{unsafe{LOGGER}}}
See the implementation of std::lazy::SyncOnceCell or parking_lot::Once