Table of Contents

Interface IStepLogger

Namespace
Ando.Logging
Assembly
ando.dll

Interface for build step lifecycle events. Use this interface for components that track step execution.

public interface IStepLogger

Methods

LogStep(string, string)

Logs a log step as a single line with the message inline. Format: "▶ [1/5] Info: message"

void LogStep(string level, string message)

Parameters

level string

Log level (Info, Warning, Error, Debug).

message string

The message to display.

StepCompleted(string, TimeSpan, string?)

Logs that a step completed successfully.

void StepCompleted(string stepName, TimeSpan duration, string? context = null)

Parameters

stepName string
duration TimeSpan
context string

StepFailed(string, TimeSpan, string?)

Logs that a step failed.

void StepFailed(string stepName, TimeSpan duration, string? message = null)

Parameters

stepName string
duration TimeSpan
message string

StepSkipped(string, string?)

Logs that a step was skipped (e.g., condition not met).

void StepSkipped(string stepName, string? reason = null)

Parameters

stepName string
reason string

StepStarted(string, string?)

Logs that a step has started executing.

void StepStarted(string stepName, string? context = null)

Parameters

stepName string
context string