Esempio n. 1
0
        public static FPLogLevel GetLogLevel(FPLogStateRef inRef)
        {
            FPLogLevel retval = SDK.FPLogState_GetLogLevel(inRef);

            SDK.CheckAndThrowError();
            return(retval);
        }
Esempio n. 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);
 }
Esempio n. 3
0
 public static void Log(FPLogLevel inLevel, string inMessage)
 {
     SDK.FPLogging_Log8(inLevel, inMessage);
     SDK.CheckAndThrowError();
 }
Esempio n. 4
0
 public static void SetLogLevel(FPLogStateRef inRef, FPLogLevel inValue)
 {
     SDK.FPLogState_SetLogLevel(inRef, inValue);
     SDK.CheckAndThrowError();
 }
Esempio n. 5
0
 public static extern void FPLogState_SetLogLevel(FPLogStateRef inRef, FPLogLevel inLevel);
Esempio n. 6
0
 public static extern void FPLogging_Log8(FPLogLevel inLevel, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(MarshalPtrToUtf8))] string inMessage);