-
Notifications
You must be signed in to change notification settings - Fork 3
/
windows_event_log_i.e
executable file
·51 lines (39 loc) · 1.09 KB
/
windows_event_log_i.e
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
note
component: "Eiffel Object Modelling Framework"
description: "Windows Event implementation of logging facility"
keywords: "logging"
author: "Thomas Beale"
support: "Ocean Informatics <[email protected]>"
copyright: "Copyright (c) 2005 Ocean Informatics Pty Ltd"
license: "Apache 2.0 License <http://www.apache.org/licenses/LICENSE-2.0.html>"
class WINDOWS_EVENT_LOG_I
inherit
EVENT_LOG_FACILITY_I
rename
make as facility_make
end
create
make
feature -- Initialisation
make(a_facility_interface:like facility_interface)
do
facility_make(a_facility_interface)
-- FIXME: to be implemented
-- real implementation to be determined - Windows event log
-- create event_log.make
-- if event_log /= Void then
-- log_start_event
-- else
-- do something basic
-- end
end
feature {NONE} -- Implementation
append_event(severity: INTEGER; source ,msg: STRING)
do
-- FIXME: to be implemented
end
event_log: ANY
once
-- FIXME: to be implemented with Windows event log
end
end