BuildMaster SDK Reference
Version:

Log(ILogSink sink, MessageLevel level, string message, string details, string category, object context) Method

Writes a message to the log.

Syntax

public static void Log(ILogSink sink, MessageLevel level, string message, string details, string category, object context)

Parameters

sink
Type: ILogSink

The log to write to.

level
Type: MessageLevel

The message level.

message
Type: string

The log message.

details
Type: string

The log message details.

category
Type: string

The log message category.

context
Type: object

The application log message context.

Exceptions

System.ArgumentNullException

sink is null (Nothing in Visual Basic).