TestimoX

API Reference

Class

InternalLogger

Namespace ComputerX.Logging
Assembly ComputerX

Lightweight console-capable logger modeled after ADPlayground.InternalLogger. No external dependencies; emits events and optionally writes to console based on flags.

Inheritance

  • Object
  • InternalLogger

Constructors

Methods

public Void WriteDebug(String message, params Object[] args) #
Returns: Void

Writes a debug message.

Parameters

message System.String requiredposition: 0
Message template.
args System.Object[] requiredposition: 1
Template parameters.
public Void WriteError(Exception exception, String message = null, params Object[] args) #
Returns: Void

Writes an error message and optional exception details.

Parameters

exception System.Exception requiredposition: 0
The exception to log.
message System.String = null optionalposition: 1
Optional message template.
args System.Object[] requiredposition: 2
Template parameters.
public Void WriteInformation(String message, params Object[] args) #
Returns: Void

Writes an information message.

Parameters

message System.String requiredposition: 0
Message template.
args System.Object[] requiredposition: 1
Template parameters.
public Void WriteProgress(String message, params Object[] args) #
Returns: Void

Writes a progress message.

Parameters

message System.String requiredposition: 0
Message template.
args System.Object[] requiredposition: 1
Template parameters.
public Void WriteVerbose(String message, params Object[] args) #
Returns: Void

Writes a verbose message.

Parameters

message System.String requiredposition: 0
Message template.
args System.Object[] requiredposition: 1
Template parameters.
public Void WriteWarning(String message, params Object[] args) #
Returns: Void

Writes a warning message.

Parameters

message System.String requiredposition: 0
Message template.
args System.Object[] requiredposition: 1
Template parameters.

Properties

public Boolean IsVerbose { get; set; } #

Enables verbose console output.

public Boolean IsError { get; set; } #

Enables error console output.

public Boolean IsWarning { get; set; } #

Enables warning console output.

public Boolean IsDebug { get; set; } #

Enables debug console output.

public Boolean IsInformation { get; set; } #

Enables information console output.

public Boolean IsProgress { get; set; } #

Enables progress console output.

Events

public event EventHandler<LogEventArgs> OnVerboseMessage #

Raised for verbose messages.

public event EventHandler<LogEventArgs> OnWarningMessage #

Raised for warning messages.

public event EventHandler<LogEventArgs> OnErrorMessage #

Raised for error messages.

public event EventHandler<LogEventArgs> OnDebugMessage #

Raised for debug messages.

public event EventHandler<LogEventArgs> OnProgressMessage #

Raised for progress messages.

public event EventHandler<LogEventArgs> OnInformationMessage #

Raised for information messages.