/// <summary> /// Register a callback used to notify the application about a procedure log. /// </summary> /// <param name="callback"> /// The <see cref="ProcedureLogDelegate"/> used to notify application about a procedure log event. /// </param> public static void RegisterApplicationLogDelegate(ProcedureLogDelegate callback) { _ProcLogCallbacks.Add(callback); // Automatically query information _ProcLogEnabled = _ProcLogCallbacks.Count == 1; }
/// <summary> /// Register a callback used to notify the application about a procedure log. /// </summary> /// <param name="callback"> /// The <see cref="ProcedureLogDelegate"/> used to notify application about a procedure log event. /// </param> public static void RegisterApplicationLogDelegate(ProcedureLogDelegate callback) { _ProcLogCallbacks.Add(callback); }