Table of Contents

LogError Method

Writes an error line.

Remarks

Standard error rather than standard output on purpose. Under systemd both land in the journal, but whoever redirects 2> -- a deploy script, a pipeline -- needs to tell a failure from an informational line.

Syntax

Unit: Sparkle.Host.Log

procedure LogError(const AMessage: string);

Parameters

<-> Parameter Type Description
const AMessage string