示例#1
0
        internal void ConfigureCallbacks()
        {
            ProgressDelegate = SetProgress;
            LogDelegate      = SetLog;

            _configuration.LoggingAction  = (level, message) => Invoke(LogDelegate, level, message);
            _configuration.ProgressAction = (progress, message) => Invoke(ProgressDelegate, progress, message);
        }
示例#2
0
        public static void SetLogger(DoLog log)
        {
            if (log == null)
            {
                return;
            }

#if BVE_DEBUG
            Logger.log = log;
#endif
        }