/// <summary>
 /// Sets the logging level for the Kinect session. Support function for Kinect.LogLevel property.
 /// </summary>
 /// <param name="level">
 /// A <see cref="LogLevel"/>
 /// </param>
 private static void SetLogLevel(LoggingLevel level)
 {
     KinectNative.freenect_set_log_level(KinectNative.Context, level);
     Kinect.logLevel = level;
 }