Skip to content

LogEntry

Namespace: TrganReport.Core

Represents a single log entry for a test step in the report. Includes a timestamp, message, and screenshot for enhanced traceability.

public class LogEntry

Inheritance ObjectLogEntry

Constructors

LogEntry(TrganStep, String, Screenshot, Boolean)

Initializes a new instance of the LogEntry class.

public LogEntry(TrganStep step, string message, Screenshot image, bool timestamp)

Parameters

step TrganStep
function caller

message String
Optional message describing the log context.

image Screenshot
Optional screenshot to include in the log.

timestamp Boolean
If true, logs the timestamp of the log entry.