Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
DebugLog.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2010 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __LOG_DEBUGLOG_IDL__
7#define __LOG_DEBUGLOG_IDL__
8
9#include <Log.idl>
10
11/**
12 * Device Logging
13 */
14module logging {
15
16 /** Device debug log interface */
17 interface DebugLog {
18
19 /**
20 * Clear the debug log.
21 */
22 void clear();
23
24 /**
25 * Get info about the debug log.
26 *
27 * @return log info
28 */
30
31 /**
32 * Fetch a chunk from the debug log.
33 *
34 * For details regarding the behavior of this method refer to the description
35 * of the \ref logging module in Log\.idl.
36 *
37 * @param refId First log id to fetch
38 * @param count Number of entries to fetch
39 * @param direction Range direction
40 *
41 * @return log chunk
42 */
43 LogChunk getChunk(in int refId, in int count, in RangeDirection direction);
44
45 };
46
47}
48
49#endif /* __LOG_DEBUGLOG_IDL__ */
Device debug log interface.
Definition: DebugLog.idl:17
LogChunk getChunk(in int refId, in int count, in RangeDirection direction)
Fetch a chunk from the debug log.
void clear()
Clear the debug log.
LogInfo getInfo()
Get info about the debug log.
Device Logging.
Definition: DebugLog.idl:14
RangeDirection
Range direction when fetching log entries.
Definition: Log.idl:108
A log chunk.
Definition: Log.idl:100
General log info.
Definition: Log.idl:84