LibreOffice LibreOffice 25.2 SDK API Reference

LogRecord.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module logging {
22
23
30 struct LogRecord
31{
33 string LoggerName;
34
40 string SourceClassName;
41
47 string SourceMethodName;
48
50 string Message;
51
53 ::com::sun::star::util::DateTime
54 LogTime;
55
61 hyper SequenceNumber;
62
64 string ThreadID;
65
70 long Level;
71};
72
73
74}; }; }; };
75
76
77/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com
Definition: Ambiguous.idl:20
com::sun::star::logging::LogRecord
assembles the complete information about a to-be-logged event
Definition: LogRecord.idl:31
com::sun::star::logging::LogRecord::SourceMethodName
string SourceMethodName
specifies the name of the method, in which the record was logged.
Definition: LogRecord.idl:47
com::sun::star::logging::LogRecord::SourceClassName
string SourceClassName
specifies the name of the class, in which the record was logged.
Definition: LogRecord.idl:40
com::sun::star::logging::LogRecord::Message
string Message
specifies the to-be-logged message
Definition: LogRecord.idl:50
com::sun::star::logging::LogRecord::SequenceNumber
hyper SequenceNumber
specifies the number of the log event.
Definition: LogRecord.idl:61
com::sun::star::logging::LogRecord::LogTime
::com::sun::star::util::DateTime LogTime
specifies the time at which the event was logged
Definition: LogRecord.idl:54
com::sun::star::logging::LogRecord::Level
long Level
specifies the level of the log event
Definition: LogRecord.idl:70
com::sun::star::logging::LogRecord::ThreadID
string ThreadID
specifies the ID of the thread in which the event was logged
Definition: LogRecord.idl:64
com::sun::star::logging::LogRecord::LoggerName
string LoggerName
specifies the name of the logger at which the record is logged
Definition: LogRecord.idl:33
com::sun::star::util::DateTime
represents a combined date+time value.
Definition: DateTime.idl:27