(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

Global Functions in Global Namespace C++
in Sourcefile logfile.h


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(
const sal_Char * pszFormat,
... );

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

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.