예제 #1
0
        public static FPLogLevel GetLogLevel(FPLogStateRef inRef)
        {
            FPLogLevel retval = SDK.FPLogState_GetLogLevel(inRef);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #2
0
 /// <summary>
 ///Static method to allow an application to log its own messages to the active LogState
 ///See API Guide: FPLogging_log
 ///
 ///@param   inLevel The FPLogLevel of the message.
 ///@param   inMessage   The actual message to be logged.
 /// </summary>
 public static void Log(FPLogLevel inLevel, string inMessage)
 {
     Native.Logging.Log(inLevel, inMessage);
 }
예제 #3
0
 public static void Log(FPLogLevel inLevel, string inMessage)
 {
     SDK.FPLogging_Log8(inLevel, inMessage);
     SDK.CheckAndThrowError();
 }
예제 #4
0
 public static void SetLogLevel(FPLogStateRef inRef, FPLogLevel inValue)
 {
     SDK.FPLogState_SetLogLevel(inRef, inValue);
     SDK.CheckAndThrowError();
 }
예제 #5
0
 public static extern void FPLogState_SetLogLevel(FPLogStateRef inRef, FPLogLevel inLevel);
예제 #6
0
 public static extern void FPLogging_Log8(FPLogLevel inLevel, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(MarshalPtrToUtf8))] string inMessage);