Global Functions in Global Namespace C++
in Sourcefile logfile.h
- rtl_logfile_hasLogFile
- extern "C"
sal_Bool rtl_logfile_hasLogFile(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Return if a log file is written.
- Return
- true if a log file is written
- Since
- UDK 3.2.11
- rtl_logfile_longTrace
- extern "C"
void rtl_logfile_longTrace(
const char * |
format, |
... |
); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Like rtl_logfile_trace, but prefixing every log entry with the current time
and thread ID.
- Parameters
format |
a format string with fprintf-like syntax
|
... |
an arbitrary number of arguments for fprintf, matching the given format
string
|
- Since
- UDK 3.2.0
- rtl_logfile_trace
- extern "C"
void rtl_logfile_trace(
-
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 © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.