Table of Contents

Class Log

Namespace
NominalSystems
Assembly
NominalSystems.Core.dll

Represents a collection of functions for logging different types of messages.


public static class Log
Inheritance
Log

Fields

EnableOutput

If 'true', writting logs to the output stream is allowed.

public static bool EnableOutput

Field Value

bool

EnableTimestamp

If 'true', date timestamps are prepended to all log messages.

public static bool EnableTimestamp

Field Value

bool

Methods

Failure(string, params object?[])

Logs a formated failure message to the output stream.

public static void Failure(string format, params object?[] args)

Parameters

format string
args object[]

Message(string, params object?[])

Logs a formated default message to the output stream.

public static void Message(string format, params object?[] args)

Parameters

format string
args object[]

Success(string, params object?[])

Logs a formated success message to the output stream.

public static void Success(string format, params object?[] args)

Parameters

format string
args object[]

Warning(string, params object?[])

Logs a formated warning message to the output stream.

public static void Warning(string format, params object?[] args)

Parameters

format string
args object[]