Definition at line 21 of file LoggerBase.cs.
Deveel.Data.Diagnostics.LoggerBase.LoggerBase |
( |
LoggerSettings |
settings | ) |
|
|
inlineprotected |
Deveel.Data.Diagnostics.LoggerBase.~LoggerBase |
( |
| ) |
|
|
inlineprivate |
override void Deveel.Data.Diagnostics.LoggerBase.Consume |
( |
LogEntry |
message | ) |
|
|
inlineprotected |
Definition at line 32 of file LoggerBase.cs.
abstract void LogMessage(string message)
string FormatMessage(LogEntry entry)
string Deveel.Data.Diagnostics.LoggerBase.FormatMessage |
( |
LogEntry |
entry | ) |
|
|
inlineprivate |
Definition at line 37 of file LoggerBase.cs.
39 foreach (var key
in entry.Keys) {
41 var holder =
String.Format(
"{0}", key);
43 format = format.Replace(holder, value);
A long string in the system.
string FormatValue(object value)
string Deveel.Data.Diagnostics.LoggerBase.FormatValue |
( |
object |
value | ) |
|
|
inlineprivate |
Definition at line 49 of file LoggerBase.cs.
54 return (
string) value;
55 if (value is DateTime ||
56 value is DateTimeOffset) {
58 return value.ToString();
60 if (value is DateTimeOffset)
66 if (!(value is IConvertible))
69 return (
string) Convert.ChangeType(value, typeof (
string), CultureInfo.InvariantCulture);
A long string in the system.
abstract void Deveel.Data.Diagnostics.LoggerBase.LogMessage |
( |
string |
message | ) |
|
|
protectedpure virtual |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Diagnostics/LoggerBase.cs