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