public void Dispose()
        {
            Yogi.DisableConsoleLogging();
            Yogi.DisableHookLogging();
            Yogi.DisableFileLogging();

            GC.Collect();
        }
        public void DisableConsoleLogging()
        {
            MOCK_ConfigureConsoleLogging((int verbosity, int stream, int color, string timefmt, string fmt) =>
            {
                Assert.Equal((int)Yogi.Verbosity.None, verbosity);
                return((int)Yogi.ErrorCode.Ok);
            });

            Yogi.DisableConsoleLogging();
        }
        public void DisableConsoleLoggingError()
        {
            MOCK_ConfigureConsoleLogging((int verbosity, int stream, int color, string timefmt, string fmt) =>
            {
                return((int)Yogi.ErrorCode.Unknown);
            });

            Assert.ThrowsAny <Yogi.FailureException>(() =>
            {
                Yogi.DisableConsoleLogging();
            });
        }