This wiki is archived and useful information is being migrated to the main bzflag.org website
bz debugMessagef
From BZFlagWiki
BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server. |
BZFS API Function. This page documents a BZFS_API Function, that is provided by the BZFS game server for plug-ins to call. |
Prototype
BZF_API void bz_debugMessagef( int level, const char* fmt, ... ) _ATTRIBUTE23;
Parameters
- level
- A pointer to a null terminated string to use as the MD5 source.
- fmt
- printf-style message format
- ...
- Parameters to insert into fmt
Returns
No return value
Description
Outputs a debug message to
Example
bz_debugMessagef(1, "%d players joined from %s", playerCount, playerSource.c_str());