<preclass='rust fn'>pub unsafe fn set_logger_raw<M>(make_logger: M) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <aclass="struct"href="../log/struct.SetLoggerError.html"title="struct log::SetLoggerError">SetLoggerError</a>><spanclass="where fmt-newline">where<br> M: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="struct"href="../log/struct.MaxLogLevelFilter.html"title="struct log::MaxLogLevelFilter">MaxLogLevelFilter</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><aclass="trait"href="../log/trait.Log.html"title="trait log::Log">Log</a>, </span></pre><divclass='docblock'><p>Sets the global logger from a raw pointer.</p>
<p>This function is similar to <code>set_logger</code> except that it is usable in
<code>no_std</code> code.</p>
<p>The <code>make_logger</code> closure is passed a <code>MaxLogLevel</code> object, which the
logger should use to keep the global maximum log level in sync with the
highest log level that the logger will not ignore.</p>
<p>This function may only be called once in the lifetime of a program. Any log
events that occur before the call to <code>set_logger_raw</code> completes will be
ignored.</p>
<p>This function does not typically need to be called manually. Logger
implementations should provide an initialization method that calls