Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_LOGGING_LOGRECORD_HDL
2 : : #define INCLUDED_COM_SUN_STAR_LOGGING_LOGRECORD_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/util/DateTime.hdl"
7 : : #include "cppu/macros.hxx"
8 : : #include "rtl/ustring.hxx"
9 : : #include "sal/types.h"
10 : :
11 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
12 : :
13 : : namespace com { namespace sun { namespace star { namespace logging {
14 : :
15 : : #ifdef SAL_W32
16 : : # pragma pack(push, 8)
17 : : #endif
18 : :
19 : 0 : struct LogRecord {
20 : : inline LogRecord() SAL_THROW(());
21 : :
22 : : inline LogRecord(const ::rtl::OUString& LoggerName_, const ::rtl::OUString& SourceClassName_, const ::rtl::OUString& SourceMethodName_, const ::rtl::OUString& Message_, const ::com::sun::star::util::DateTime& LogTime_, const ::sal_Int64& SequenceNumber_, const ::rtl::OUString& ThreadID_, const ::sal_Int32& Level_) SAL_THROW(());
23 : :
24 : : ::rtl::OUString LoggerName;
25 : : ::rtl::OUString SourceClassName;
26 : : ::rtl::OUString SourceMethodName;
27 : : ::rtl::OUString Message;
28 : : ::com::sun::star::util::DateTime LogTime;
29 : : ::sal_Int64 SequenceNumber;
30 : : ::rtl::OUString ThreadID;
31 : : ::sal_Int32 Level;
32 : : };
33 : :
34 : : #ifdef SAL_W32
35 : : # pragma pack(pop)
36 : : #endif
37 : :
38 : :
39 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::logging::LogRecord const *);
40 : : } } } }
41 : :
42 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::logging::LogRecord *) SAL_THROW(());
43 : :
44 : : #endif
|