Class LogRecord
Inheritance
System.Object
LogRecord
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIX.TimApi.Utility.Logger
Assembly: TimApi.dll
Syntax
public class LogRecord
Constructors
LogRecord(Level, String, String, String, String[])
Declaration
public LogRecord(Level level, string message, string sourceClass, string sourceMethod = null, string[] parameters = null)
Parameters
Type | Name | Description |
---|---|---|
Level | level | |
System.String | message | |
System.String | sourceClass | |
System.String | sourceMethod | |
System.String[] | parameters |
Fields
Level
Declaration
public readonly Level Level
Field Value
Type | Description |
---|---|
Level |
Message
Declaration
public readonly string Message
Field Value
Type | Description |
---|---|
System.String |
Parameters
Declaration
public readonly string[] Parameters
Field Value
Type | Description |
---|---|
System.String[] |
SourceClass
Declaration
public readonly string SourceClass
Field Value
Type | Description |
---|---|
System.String |
SourceMethod
Declaration
public readonly string SourceMethod
Field Value
Type | Description |
---|---|
System.String |
Timestamp
Declaration
public readonly DateTime Timestamp
Field Value
Type | Description |
---|---|
System.DateTime |