LOGTRACE: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_LOGTRACE}} The _LOGTRACE statement writes a log message at the Trace level. {{PageSyntax}} : _LOGTRACE {{Parameter|message}} {{PageParameters}} * {{Parameter|message}} is a string to write to the log output. {{PageDescription}} See the page on the Logging system for more detailed usage information. {{PageAvailability}} <!-- QB64 = a version or none, QBPE = a version or all, Platforms = yes or no --> <gallery widths="48px" heights="48px" mo...")
 
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:_LOGTRACE}}
{{DISPLAYTITLE:_LOGTRACE}}
The [[_LOGTRACE]] statement writes a log message at the Trace level.
The '''_LOGTRACE''' statement writes a log message at the Trace level.
 


{{PageSyntax}}
{{PageSyntax}}
: [[_LOGTRACE]] {{Parameter|message}}
: [[_LOGTRACE]] {{Parameter|message}}


{{PageParameters}}
{{PageParameters}}
Line 9: Line 11:


{{PageDescription}}
{{PageDescription}}
See the page on the [[Logging]] system for more detailed usage information.
* See the page on the [[Logging]] system for more detailed usage information.
 


{{PageAvailability}}
{{PageAvailability}}
Line 21: Line 24:
File:Osx.png|'''yes'''
File:Osx.png|'''yes'''
</gallery>
</gallery>
<!-- Additional availability notes go below here -->


{{PageExamples}}
{{PageExamples}}
Line 28: Line 33:
{{Cl|_LOGTRACE}} "a= " + {{Cl|STR$}}(a)
{{Cl|_LOGTRACE}} "a= " + {{Cl|STR$}}(a)
{{CodeEnd}}
{{CodeEnd}}


{{PageSeeAlso}}
{{PageSeeAlso}}
* [https://qb64phoenix.com/forum/showthread.php?tid=1066 Featured in our "Keyword of the Day" series]
* [[_LOGMINLEVEL]]
* [[Keyword Reference - Alphabetical]]
* [[_LOGINFO]], [[_LOGWARN]], [[_LOGERROR]]
* [[Keyword Reference - By usage]]
* [[Logging]]
 


{{PageNavigation}}
{{PageNavigation}}

Revision as of 12:11, 8 December 2024

The _LOGTRACE statement writes a log message at the Trace level.


Syntax

_LOGTRACE message


Parameters

  • message is a string to write to the log output.

Description

  • See the page on the Logging system for more detailed usage information.


Availability


Examples

Example 1
Writes a log message at the Trace level
_LOGTRACE "This is a log message"
_LOGTRACE "a= " + STR$(a)


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link