-
Notifications
You must be signed in to change notification settings - Fork 0
/
LoggerSys.h
executable file
·67 lines (52 loc) · 1.77 KB
/
LoggerSys.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
* Copyright (c) 2008 Texas Instruments. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License
* v. 1.0 which accompanies this distribution. The Eclipse Public License is
* available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse
* Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Texas Instruments - initial implementation
* */
#ifndef LOGGERSYS__include
#define LOGGERSYS__include
#include <sstd.h>
#include <Types.h>
#include <Log.h>
/* Object */
typedef struct{
Bool enabled;
} LoggerSys_Object ;
extern LoggerSys_Object* loggerObj;
/*
* ======== LoggerSys_disable ========
*/
Bool LoggerSys_disable(LoggerSys_Object* obj);
/*
* ======== LoggerSys_enable ========
*/
Bool LoggerSys_enable(LoggerSys_Object* obj);
Void LoggerSys_write0(LoggerSys_Object* obj, Log_Event evt, Types_ModuleId mid);
/*
* ======== write1 =========
*/
Void LoggerSys_write1(LoggerSys_Object* obj, Log_Event evt,
Types_ModuleId mid, IArg a1);
/*
* ======== write2 =========
*/
Void LoggerSys_write2(LoggerSys_Object* obj, Log_Event evt,
Types_ModuleId mid, IArg a1, IArg a2);
/*
* ======== write4 =========
*/
Void LoggerSys_write4(LoggerSys_Object* obj, Log_Event evt,
Types_ModuleId mid, IArg a1, IArg a2, IArg a3, IArg a4);
/*
* ======== write8 =========
*/
Void LoggerSys_write8(LoggerSys_Object* obj, Log_Event evt,Types_ModuleId mid, IArg a1, IArg a2,
IArg a3, IArg a4, IArg a5, IArg a6, IArg a7, IArg a8);
#endif /* LOGGERSYS_H_ */