TestimoX

API Reference

Class

LoggingMessages

Namespace ADPlayground
Assembly ADPlayground

Provides centralized access to logging configuration and the internal logger instance

Inheritance

  • Object
  • LoggingMessages

Constructors

public LoggingMessages() #

Methods

public static Void LogDebug(Exception exception, String message = null, params Object[] args) #
Returns: Void

Writes a debug message using the internal logger.

Parameters

exception System.Exception requiredposition: 0
Exception to log.
message System.String = null optionalposition: 1
Optional format string.
args System.Object[] requiredposition: 2
Arguments used for formatting.
public static Void LogError(Exception exception, String message = null, params Object[] args) #
Returns: Void

Writes an error message using the internal logger.

Parameters

exception System.Exception requiredposition: 0
Exception to log.
message System.String = null optionalposition: 1
Optional format string.
args System.Object[] requiredposition: 2
Arguments used for formatting.
public static Void LogWarning(Exception exception, String message = null, params Object[] args) #
Returns: Void

Writes a warning message using the internal logger.

Parameters

exception System.Exception requiredposition: 0
Exception to log.
message System.String = null optionalposition: 1
Optional format string.
args System.Object[] requiredposition: 2
Arguments used for formatting.

Properties

public static Boolean Error { get; set; } #

Gets or sets whether error messages should be written to console

public static Boolean Verbose { get; set; } #

Gets or sets whether verbose messages should be written to console

public static Boolean Warning { get; set; } #

Gets or sets whether warning messages should be written to console

public static Boolean Progress { get; set; } #

Gets or sets whether progress messages should be written to console

public static Boolean Debug { get; set; } #

Gets or sets whether debug messages should be written to console

public static Boolean Information { get; set; } #

Gets or sets whether information messages should be written to console

Fields

public static InternalLogger Logger #

Static instance of the internal logger used throughout the application