public void StopLogging() { int major, minor, bugfix; Graphite2Api.EngineVersion(out major, out minor, out bugfix); if (major <= 1 && minor < 2) { throw new NotSupportedException("A newer graphite engine is needed to support logging"); } Graphite2Api.StopLogging(_face); }