CORBA 2.3.3 Programmer's Guide for C++
// log critical/error/warning/info message
//
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
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.