LOGTRACE: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 9: Line 9:
{{PageParameters}}
{{PageParameters}}
* {{Parameter|message}} is a string to write to the log output.
* {{Parameter|message}} is a string to write to the log output.


{{PageDescription}}
{{PageDescription}}
Line 30: Line 31:
; Example 1 : Writes a log message at the Trace level
; Example 1 : Writes a log message at the Trace level
{{CodeStart}}
{{CodeStart}}
{{Cl|_LOGTRACE}} "This is a log message"
{{Cl|_LOGTRACE}} {{Text|<nowiki>"This is a log message"</nowiki>|#FFB100}}
{{Cl|_LOGTRACE}} "a= " + {{Cl|STR$}}(a)
{{Cl|_LOGTRACE}} {{Text|<nowiki>"a= "</nowiki>|#FFB100}} + {{Cl|STR$}}(a)
{{CodeEnd}}
{{CodeEnd}}



Latest revision as of 14:15, 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