More process control refinements

This commit is contained in:
Michael Bucari-Tovo 2021-08-11 21:07:07 -06:00
parent 687591e08e
commit 1c239dc546
8 changed files with 30 additions and 94 deletions

View file

@ -1,9 +1,5 @@
using DataLayer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LibationWinForms.BookLiberation
{
@ -16,12 +12,12 @@ namespace LibationWinForms.BookLiberation
#region IProcessable event handler overrides
public override void OnBegin(object sender, LibraryBook libraryBook)
{
InfoLogAction($"Convert Step, Begin: {libraryBook.Book}");
LogMe.Info($"Convert Step, Begin: {libraryBook.Book}");
base.OnBegin(sender, libraryBook);
}
public override void OnCompleted(object sender, LibraryBook libraryBook)
=> InfoLogAction($"Convert Step, Completed: {libraryBook.Book}{Environment.NewLine}");
=> LogMe.Info($"Convert Step, Completed: {libraryBook.Book}{Environment.NewLine}");
#endregion
}