|
const string | Log = "Application" |
|
readonly string | name |
|
Definition at line 28 of file EventLog.cs.
Ntp.Common.Log.EventLog.EventLog |
( |
string |
name, |
|
|
Severity |
threshold |
|
) |
| |
|
inline |
Definition at line 30 of file EventLog.cs.
31 : base(threshold,
true)
override void Ntp.Common.Log.EventLog.Close |
( |
| ) |
|
|
inlinevirtual |
void Ntp.Common.Log.EventLog.CreateEventLog |
( |
| ) |
|
|
inlineprivate |
Definition at line 98 of file EventLog.cs.
102 if (!global::System.Diagnostics.EventLog.SourceExists(
name))
104 global::System.Diagnostics.EventLog.CreateEventSource(
name,
Log);
107 catch (SecurityException)
static EventLogEntryType Ntp.Common.Log.EventLog.GetEventLogEntryType |
( |
Severity |
severity | ) |
|
|
inlinestaticprivate |
Definition at line 112 of file EventLog.cs.
120 return EventLogEntryType.Information;
122 return EventLogEntryType.Warning;
124 return EventLogEntryType.Error;
126 return EventLogEntryType.Error;
override void Ntp.Common.Log.EventLog.Initialize |
( |
| ) |
|
|
inlinevirtual |
override void Ntp.Common.Log.EventLog.Resume |
( |
| ) |
|
|
inlinevirtual |
override void Ntp.Common.Log.EventLog.Suspend |
( |
| ) |
|
|
inlinevirtual |
void Ntp.Common.Log.EventLog.WriteEventLogEntry |
( |
string |
text, |
|
|
EventLogEntryType |
type, |
|
|
int |
code |
|
) |
| |
|
inlineprivate |
Definition at line 130 of file EventLog.cs.
134 global::System.Diagnostics.EventLog.WriteEntry(
name, text, type, code);
136 catch (SecurityException)
override void Ntp.Common.Log.EventLog.WriteLine |
( |
string |
text, |
|
|
Severity |
severity |
|
) |
| |
|
inlinevirtual |
Implements Ntp.Common.Log.LogBase.
Definition at line 63 of file EventLog.cs.
static EventLogEntryType GetEventLogEntryType(Severity severity)
void WriteEventLogEntry(string text, EventLogEntryType type, int code)
override void Initialize()
override void Ntp.Common.Log.EventLog.WriteLine |
( |
Exception |
exception, |
|
|
Severity |
severity |
|
) |
| |
|
inlinevirtual |
Implements Ntp.Common.Log.LogBase.
Definition at line 74 of file EventLog.cs.
static EventLogEntryType GetEventLogEntryType(Severity severity)
void WriteEventLogEntry(string text, EventLogEntryType type, int code)
override void Initialize()
override void Ntp.Common.Log.EventLog.WriteLine |
( |
Exception |
exception | ) |
|
|
inlinevirtual |
bool Ntp.Common.Log.EventLog.initialized |
|
staticprivate |
const string Ntp.Common.Log.EventLog.Log = "Application" |
|
private |
readonly string Ntp.Common.Log.EventLog.name |
|
private |
The documentation for this class was generated from the following file: