internal void ConfigureCallbacks() { ProgressDelegate = SetProgress; LogDelegate = SetLog; _configuration.LoggingAction = (level, message) => Invoke(LogDelegate, level, message); _configuration.ProgressAction = (progress, message) => Invoke(ProgressDelegate, progress, message); }
public static void SetLogger(DoLog log) { if (log == null) { return; } #if BVE_DEBUG Logger.log = log; #endif }