25 namespace Ntp.Analyzer.Data.Log
29 internal const string DatabaseCacheError =
"Mapper does not implement caching.";
30 internal const string DatabaseNoUpdate =
"Updating rows in {0} table is not supported.";
44 $
"Creating new table '{table}'.",
56 log.
WriteLine($
"Error while deleting from table {table}: {e.Message}",
Severity.Warn);
63 log.
WriteLine($
"Error while inserting into table {table}: {e.Message}",
Severity.Warn);
70 log.
WriteLine($
"Error while reading from table {table}: {e.Message}",
Severity.Warn);
78 $
"Skipping table '{table}'. Already exist.",
99 log.
WriteLine($
"Fetching data from {provider} for server ID {orgId}",
Severity.Info);
105 log.
WriteLine($
"Error while contacting {provider} with ID {orgId}",
Severity.Warn);
121 log.
WriteLine($
"Time server not found at {provider}. ID: {orgId}",
Severity.Info);
static void TimeServerNotReceived(this LogBase log, int orgId)
static void InsertError(this LogBase log, string table, Exception e)
abstract void WriteLine(string text, Severity severity)
static void CreateTableError(this LogBase log, Exception e)
static void ReadError(this LogBase log, string table, Exception e)
static void TimeServerDownload(this LogBase log, string provider, string url, int orgId)
static void TimeServerParseError(this LogBase log, string type, Exception e)
static void TimeServerError(this LogBase log, string provider, int orgId)
static void Advice(LogBase log)
static void UpdateError(this LogBase log, string table, Exception e)
static void TimeServerNotFound(this LogBase log, string provider, int orgId)
static void TableExists(this LogBase log, string table)
static void TimeServerMaxId(this LogBase log, string provider)
static void CreateDatabaseError(this LogBase log, Exception e)
static void TimeServerFetchError(this LogBase log, Exception e)
static void DeleteError(this LogBase log, string table, Exception e)
static void CreateTable(this LogBase log, string table)