LOGWARN: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
<!-- QB64 = a version or none, QBPE = a version or all, Platforms = yes or no --> | <!-- QB64 = a version or none, QBPE = a version or all, Platforms = yes or no --> | ||
<gallery widths="48px" heights="48px" mode="nolines"> | <gallery widths="48px" heights="48px" mode="nolines"> | ||
File:Qb64.png|''' | File:Qb64.png|'''none''' | ||
File:Qbpe.png|'''v4.0.0''' | File:Qbpe.png|'''v4.0.0''' | ||
File:Apix.png | File:Apix.png | ||
Line 25: | Line 25: | ||
File:Osx.png|'''yes''' | File:Osx.png|'''yes''' | ||
</gallery> | </gallery> | ||
<!-- | <!-- additional availability notes go below here --> | ||
{{PageExamples}} | {{PageExamples}} | ||
; Example 1 : | ; Example 1: Writing log messages at the '''Warning''' level. | ||
{{CodeStart}} | {{CodeStart}} | ||
{{Cl|_LOGWARN}} "This is a log message" | {{Cl|_LOGWARN}} {{Text|<nowiki>"This is a log message"</nowiki>|#FFB100}} | ||
{{Cl|_LOGWARN}} "a= " + {{Cl|STR$}}(a) | {{Cl|_LOGWARN}} {{Text|<nowiki>"a= "</nowiki>|#FFB100}} + {{Cl|STR$}}(a) | ||
{{CodeEnd}} | {{CodeEnd}} | ||
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
-
none
-
v4.0.0
-
yes
-
yes
-
yes
Examples
- Example 1
- Writing log messages at the Warning level.
_LOGWARN "This is a log message" _LOGWARN "a= " + STR$(a) |
See also