Class DatabaseLogService
Inheritance
System.Object
DatabaseLogService
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Evatic.Common.Service.Logger
Assembly: Evatic.Common.dll
Syntax
[Export(typeof(IDatabaseLogService))]
public class DatabaseLogService : IDatabaseLogService
Properties
View SourceConnectionString
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceWriteError(Exception, String, String)
Declaration
public void WriteError(Exception ex, string sourceName, string message = "")
Parameters
Type | Name | Description |
---|---|---|
System.Exception | ex | |
System.String | sourceName | |
System.String | message |
WriteInformation(String, String)
Declaration
public void WriteInformation(string message, string sourceName)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | sourceName |
WriteWarning(String, String)
Declaration
public void WriteWarning(string message, string sourceName)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | sourceName |