CORBA 2.3.3 Programmer's Guide for C++ (NonStop CORBA 2.3.3+)
Table Of Contents
- CORBA 2.3.3 Programmer's Guide for C++
- Legal Notice
- Contents
- About This Guide
- Chapter 1. Introduction to NonStop CORBA Programming
- Chapter 2. NonStop CORBA Administrative Environment
- Chapter 3. Compiling and Building an Application
- Chapter 4. Deploying a NonStop CORBA Application
- Chapter 5. Tracing and Debugging Applications
- Chapter 6. Writing Scalable Applications
- Chapter 7. Managing Transactions
- Chapter 8. Writing Multithreaded Applications
- Chapter 9. Designing Advanced Applications
- Chapter 10. Porting CORBA Applications to NonStop CORBA
- Chapter 11. Writing Wrappers for Legacy Clients and Servers
- Appendix A. Architectural Walkthrough
- Appendix B. Object References
- Appendix C. Servant Reference Counting in NonStop CORBA
- Index
// 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.