Class ALoggedWarning

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type ALoggedWarning = class(ALoggedItem)

Description

This class represents a warning that is logged. It is defined such that the counter it will increment upon being logged is the one specified by lgwrCounterName – by default, a counter named warnings.

It also changes the string representation of itself produced when its toString method is called, to include a prefix that indicates it is a warning. This prefix is defined by lgwrStringRepresentation.

Hierarchy

Overview

Methods

Public function init: boolean; override;
Public function toString: AnsiString; override;

Description

Methods

Public function init: boolean; override;

Initializer

Public function toString: AnsiString; override;

Construct and return a string representation of the item, suitable for printing to a text-based device, such as a console.

This method overrides the behavior inherited from ALoggedItem.toString so that a prefix is included with the message that indicates it is a warning. This prefix is defined by lgwrStringRepresentation.


Generated by PasDoc 0.13.0 on 2015-06-23 19:40:11