C# Class Deeply.ConsoleExecutionLog

Console Execution Log implementation.
Inheritance: IExecutionLog
Show file Open project: jsnape/deeply

Public Methods

Method Description
ReportProgress ( ITask task, string message, int percentComplete ) : void

Called regularly during task execution to report progress.

TaskFailed ( ITask task, string reason ) : void

Called when a task execution fails.

TaskStarted ( ITask task ) : void

Called when a task starts.

TaskSucceeded ( ITask task ) : void

Called when a task has finished execution successfully.

Method Details

ReportProgress() public method

Called regularly during task execution to report progress.
public ReportProgress ( ITask task, string message, int percentComplete ) : void
task ITask The task.
message string A message of progress.
percentComplete int An estimation of percent complete.
return void

TaskFailed() public method

Called when a task execution fails.
public TaskFailed ( ITask task, string reason ) : void
task ITask The task.
reason string Task failure reason.
return void

TaskStarted() public method

Called when a task starts.
public TaskStarted ( ITask task ) : void
task ITask The task.
return void

TaskSucceeded() public method

Called when a task has finished execution successfully.
public TaskSucceeded ( ITask task ) : void
task ITask The task.
return void