Class ALoggedHint

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type ALoggedHint = class(ALoggedItem)

Description

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

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

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 hint. This prefix is defined by lghtStringRepresentation.


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