예제 #1
0
        public override void Commit(ICommitBag bag)
        {
            this.Logger.LogVerbose("Commit started", null);

            try
            {
                Decorated.Commit(bag);
            }
            catch (Exception ex)
            {
                this.Logger.LogError(ex.Message, null, ex);
                throw;
            }
            finally
            {
                this.Logger.LogVerbose("Commit completed", null);
            }
        }