LOGWARN: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 29: Line 29:


{{PageExamples}}
{{PageExamples}}
; Example 1 : Writes a log message at the Warning level
; Example 1: Writing log messages at the '''Warning''' level.
{{CodeStart}}
{{CodeStart}}
{{Cl|_LOGWARN}} {{Text|<nowiki>"This is a log message"</nowiki>|#FFB100}}
{{Cl|_LOGWARN}} {{Text|<nowiki>"This is a log message"</nowiki>|#FFB100}}

Latest revision as of 11:11, 30 May 2025

The _LOGWARN statement writes a log message at the Warning level.


Syntax

_LOGWARN 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
Writing log messages at the Warning level.
_LOGWARN "This is a log message"
_LOGWARN "a= " + STR$(a)


See also



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