Gazebo logo



void gz_error_init (int print, int level)
const char * gz_error_str (void)

Function Documentation

void gz_error_init int  print,
int  level

For internal use only.

Initialize error logging

print Set to 0 to stop messages being printed to stderr.
level Debug level: 0 = important messages, 1 = useful messages, 2+ = all messages.

const char* gz_error_str void   ) 

Retrieve the last error (as a descriptive string). Most functions in will return 0 on success and non-zero value on error; a descriptive error message can be obtained by calling this function.

Last updated 12 September 2005 21:38:45