[MethodImpl(MethodImplOptions.NoInlining)] // Disable inlining since logging is off by default, and we want to allow the public method to be inlined private static void FlushImpl() { s_logger?.Flush(); }