CORBA 2.6 Programmer's Guide for C++

void log_critical(char *pp_src_file_name, // name of src file
int pv_src_line_num, // line num of src
long pv_err_num, // error number
char *pp_text, // text
const CORBA::Exception &pr_ex); // exception
void log_error(char *pp_src_file_name, // name of src file
int pv_src_line_num, // line num of src
long pv_err_num, // error number
char *pp_text); // text
void log_error(char *pp_src_file_name, // name of src file
int pv_src_line_num, // line num of src
long pv_err_num, // error number
char *pp_text, // text
const CORBA::Exception &pr_ex );// exception
void log_info(char *pp_src_file_name, // name of src file
int pv_src_line_num, // line num of src
long pv_err_num, // error number
char *pp_text); // text
void log_info(char *pp_src_file_name, // name of src file
int pv_src_line_num, // line num of src
long pv_err_num, // error number
char *pp_text, // text
const CORBA::Exception &pr_ex ); // exception
void log_warning(char *pp_src_file_name, // name of src file
int pv_src_line_num, // line num of src
long pv_err_num, // error number
char *pp_text); // text
void log_warning(char *pp_src_file_name, // name of src file
int pv_src_line_num, // line num of src
long pv_err_num, // error number
char *pp_text, // text
const CORBA::Exception &pr_ex );// exception
//
// static method returns default log object
//
static NSDOM_Error_Log &get_default();
};
Using the Trace Facility
Distributed applications typically involve interactions between a number of processes. When problems occur, you
might wish to be able to gain insight into these dynamic interactions. The NonStop CORBA trace facility is provided
for this purpose.
Using the trace facility helps you to narrow the problem area to a specific set of interactions. For example, a client
might send a request to an object and never receive a reply. In this case, focusing more narrowly on the server hosting
the object should prove fruitful. NonStop CORBA provides tracing for a number of internal components, which you
can control by using specific trace settings. However, you should be judicious in enabling tracing because the volume
of output can be large.