LOGINFO: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "{{DISPLAYTITLE:_LOGINFO}} The _LOGINFO statement writes a log message at the Information level. {{PageSyntax}} : _LOGINFO {{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"...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:_LOGINFO}} | {{DISPLAYTITLE:_LOGINFO}} | ||
The | The '''_LOGINFO''' statement writes a log message at the Information level. | ||
{{PageSyntax}} | {{PageSyntax}} | ||
: [[_LOGINFO]] {{Parameter|message}} | : [[_LOGINFO]] {{Parameter|message}} | ||
{{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}} | ||
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 25: | ||
File:Osx.png|'''yes''' | File:Osx.png|'''yes''' | ||
</gallery> | </gallery> | ||
<!-- Additional availability notes go below here --> | |||
{{PageExamples}} | {{PageExamples}} | ||
; Example 1 : Writes a log message at the information level | ; Example 1 : Writes a log message at the information level | ||
{{CodeStart}} | {{CodeStart}} | ||
{{Cl|_LOGINFO}} "This is a log message" | {{Cl|_LOGINFO}} {{Text|<nowiki>"This is a log message"</nowiki>|#FFB100}} | ||
{{Cl|_LOGINFO}} "a= " + {{Cl|STR$}}(a) | {{Cl|_LOGINFO}} {{Text|<nowiki>"a= "</nowiki>|#FFB100}} + {{Cl|STR$}}(a) | ||
{{CodeEnd}} | {{CodeEnd}} | ||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [ | * [[_LOGMINLEVEL]] | ||
* [[ | * [[_LOGTRACE]], [[_LOGWARN]], [[_LOGERROR]] | ||
* [[ | * [[Logging]] | ||
{{PageNavigation}} | {{PageNavigation}} |
Latest revision as of 14:17, 8 December 2024
The _LOGINFO statement writes a log message at the Information level.
Syntax
- _LOGINFO 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 information level
_LOGINFO "This is a log message" _LOGINFO "a= " + STR$(a) |
See also