<cAppLog>.Name

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > AppLog > cAppLog Class > <cAppLog> Properties >

<cAppLog>.Name

 

Description

 

Field containing an optional value of logger name. It can be used to enrich logging messages.

 

Syntax

 

' SET

<cAppLog>.Name = "MyLogger"

 

' GET

appId = <cAppLog>.Name

 

Returns

 

String value of logger name, if previously set.

 

Remarks

 

Completely optional.

 

Restrictions

 

See also

 

Examples

 

uses "AppLog"

 

dim myLog as new cAppLog

 

myLog.Name = "MyLogger"