Example #1
0
        public static void Setup()
        {
            writeClassName    = GetConfig().GetBool("Log", "writeClassName");
            writeFunctionName = GetConfig().GetBool("Log", "writeFunctionName");

            outputSinkCallbacksAction = CallOutputSinkCallbacks;
            log.AddOutputSinkCallback(outputSinkCallbacksAction);
        }
Example #2
0
 public static void Initialize()
 {
     dequeueOnReceiveSystemMessageAction = DequeueOnReceiveSystemMessageCallbacks; // Storing this in a variable is somehow needed to prevent corruption on WinForms resize. Very odd bug that I still don't fully understand.
     UtinniCore.Utinni.SystemMessageManager.AddReceiveMessageCallback(dequeueOnReceiveSystemMessageAction);
 }