BIS fnc logFormatServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
m (sa) |
||
Line 24: | Line 24: | ||
</sqf> | </sqf> | ||
|seealso= [[ | |seealso= [[BIS_fnc_error]] [[BIS_fnc_logFormat]] [[BIS_fnc_errorMsg]] [[BIS_fnc_log]] | ||
}} | }} |
Revision as of 22:31, 30 December 2023
Description
- Description:
- Logs (using diag_log) a debug message (profileName, playerUID, _fnc_scriptName, provided text) to server's .RPT. In singleplayer, BIS_fnc_logFormat is used.
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- [text, argument1, argument2, ...] call BIS_fnc_logFormatServer
- Parameters:
- text: String or Anything - text using format standard (with %). Any non-String value will be converted (with str)
- argument1..n: Anything - same as format arguments - referenced in text as %1, %2 etc
- Return Value:
- Boolean - true when done
Examples
- Example 1:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note