This wiki is archived and useful information is being migrated to the main bzflag.org website

bz debugMessagef

From BZFlagWiki
Jump to: navigation, search
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[edit]

BZF_API void bz_debugMessagef( int level, const char* fmt, ... ) _ATTRIBUTE23;

Parameters[edit]

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[edit]

No return value

Description[edit]

Outputs a debug message to

Example[edit]

bz_debugMessagef(1, "%d players joined from %s", playerCount, playerSource.c_str());

See Also[edit]

Bz_debugMessage