NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Data.Log.LogMessagesImport Class Reference

Static Package Functions

static void TimeServerDownload (this LogBase log, string provider, string url, int orgId)
 
static void TimeServerError (this LogBase log, string provider, int orgId)
 
static void TimeServerFetchError (this LogBase log, Exception e)
 
static void TimeServerMaxId (this LogBase log, string provider)
 
static void TimeServerNotFound (this LogBase log, string provider, int orgId)
 
static void TimeServerNotReceived (this LogBase log, int orgId)
 
static void TimeServerParseError (this LogBase log, string type, Exception e)
 

Detailed Description

Definition at line 95 of file LogExtensions.cs.

Member Function Documentation

static void Ntp.Analyzer.Data.Log.LogMessagesImport.TimeServerDownload ( this LogBase  log,
string  provider,
string  url,
int  orgId 
)
inlinestaticpackage

Definition at line 97 of file LogExtensions.cs.

References Ntp.Common.Log.LogBase.WriteLine().

98  {
99  log.WriteLine($"Fetching data from {provider} for server ID {orgId}", Severity.Info);
100  log.WriteLine($"Downloading ... {url}", Severity.Debug);
101  }

Here is the call graph for this function:

static void Ntp.Analyzer.Data.Log.LogMessagesImport.TimeServerError ( this LogBase  log,
string  provider,
int  orgId 
)
inlinestaticpackage

Definition at line 103 of file LogExtensions.cs.

References Ntp.Common.Log.LogBase.WriteLine().

104  {
105  log.WriteLine($"Error while contacting {provider} with ID {orgId}", Severity.Warn);
106  }

Here is the call graph for this function:

static void Ntp.Analyzer.Data.Log.LogMessagesImport.TimeServerFetchError ( this LogBase  log,
Exception  e 
)
inlinestaticpackage

Definition at line 108 of file LogExtensions.cs.

References Ntp.Common.Log.LogBase.WriteLine().

109  {
110  log.WriteLine("Failed to fetch time server data.", Severity.Warn);
111  log.WriteLine(e, Severity.Warn);
112  }
var e
Definition: bootstrap.min.js:6

Here is the call graph for this function:

static void Ntp.Analyzer.Data.Log.LogMessagesImport.TimeServerMaxId ( this LogBase  log,
string  provider 
)
inlinestaticpackage

Definition at line 114 of file LogExtensions.cs.

References Ntp.Common.Log.LogBase.WriteLine().

115  {
116  log.WriteLine($"Not contacting {provider} for ID > 10000.", Severity.Debug);
117  }

Here is the call graph for this function:

static void Ntp.Analyzer.Data.Log.LogMessagesImport.TimeServerNotFound ( this LogBase  log,
string  provider,
int  orgId 
)
inlinestaticpackage

Definition at line 119 of file LogExtensions.cs.

References Ntp.Common.Log.LogBase.WriteLine().

120  {
121  log.WriteLine($"Time server not found at {provider}. ID: {orgId}", Severity.Info);
122  }

Here is the call graph for this function:

static void Ntp.Analyzer.Data.Log.LogMessagesImport.TimeServerNotReceived ( this LogBase  log,
int  orgId 
)
inlinestaticpackage

Definition at line 124 of file LogExtensions.cs.

References Ntp.Common.Log.LogBase.WriteLine().

125  {
126  log.WriteLine($"Nothing received for time server ID {orgId}.", Severity.Debug);
127  }

Here is the call graph for this function:

static void Ntp.Analyzer.Data.Log.LogMessagesImport.TimeServerParseError ( this LogBase  log,
string  type,
Exception  e 
)
inlinestaticpackage

Definition at line 129 of file LogExtensions.cs.

References Ntp.Common.Log.LogBase.WriteLine().

130  {
131  log.WriteLine($"Could not parse time server {type}.", Severity.Warn);
132  log.WriteLine(e, Severity.Warn);
133  }
var e
Definition: bootstrap.min.js:6

Here is the call graph for this function:


The documentation for this class was generated from the following file: