| Overview | Namespace | Class | Index | Help | 
Global Functions in Global Namespace C++
in Sourcefile logfile.h
- rtl_logfile_trace
- extern "C"
 void rtl_logfile_trace(
- const sal_Char * - pszFormat, - ... - ); 
 
 
- extern "C"
- virtual - abstract - const - volatile - template - static - inline - C-linkage - NO - NO - NO - NO - NO - NO - NO - YES 
 
- Summary
- This function allows to log arbitrary messages even in a product-environment.
- Description
- The logfile is created on first access and closed, when the sal-library gets unloaded. The file is line buffered. A log file is not created if no log messages are written. The first time, rtl_logfile_trace is called, it checks for the bootstrap variable RTL_LOGFILE. If the variable is not empty, it creates a file with the name $(RTL_LOGFILE)_$(PID).log, where $(PID) is the process id of the running process.
- Parameters
- pszformat - A format string with fprintf-syntax- ... - An arbitrary number of arguments for fprintf, matching the format string.
 
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.

