Table of Contents

Class Log

Namespace
CSharpToJavaScript.Utils
Assembly
CSharpToJavaScript.dll

Logging.

public static class Log
Inheritance
Log
Inherited Members

Properties

DisableConsoleColors

Self-explanatory, Disable Console Colors.

public static bool DisableConsoleColors { get; set; }

Property Value

bool

Default: false

DisableConsoleOutput

Self-explanatory, Disable Console Output.

public static bool DisableConsoleOutput { get; set; }

Property Value

bool

Default: false

Methods

ErrorLine(string, string?, string?, int)

Log an error message.

public static void ErrorLine(string message, string? file = null, string? member = null, int line = 0)

Parameters

message string

Required. Custom message.

file string

Optional. Ignore

member string

Optional. Ignore

line int

Optional. Ignore

InfoLine(string)

Log an info message.

public static void InfoLine(string message)

Parameters

message string

Required. Custom message.

WarningLine(string, string?, string?, int)

Log a warning message.

public static void WarningLine(string message, string? file = null, string? member = null, int line = 0)

Parameters

message string

Required. Custom message.

file string

Optional. Ignore

member string

Optional. Ignore

line int

Optional. Ignore

WriteLine(string)

Log a simple message.

public static void WriteLine(string message)

Parameters

message string

Required. Custom message.