Class LogEntryParameters
Parameters of the log entry
public class LogEntryParameters
- Inheritance
-
LogEntryParameters
- Inherited Members
- Extension Methods
Constructors
LogEntryParameters(string, string, string, string, string, int, string, object, DateTime?)
Creates parameters of the log entry
public LogEntryParameters(string appName, string appVersion, string envInfo, string callerFilePath, string process, int callerLineNumber, string message, object context, DateTime? moment)
Parameters
appName
stringName of the app, which made the entry
appVersion
stringVersion of the app, which made the entry
envInfo
stringENV_INFO environment variable of the app, which made the entry
callerFilePath
stringPath of the source code file, where the entry was made
process
stringProcess within which the entry was made. Usually method name
callerLineNumber
intSource code file line number, where the entry was made
message
stringMessage of the entry
context
objectContext of the entry
moment
DateTime?Moment when the entry was made
Properties
AppName
public string AppName { get; }
Property Value
AppVersion
public string AppVersion { get; }
Property Value
CallerFilePath
public string CallerFilePath { get; }
Property Value
CallerLineNumber
public int CallerLineNumber { get; }
Property Value
Context
public string Context { get; }
Property Value
EnvInfo
public string EnvInfo { get; }
Property Value
Message
public string Message { get; }
Property Value
Moment
public DateTime Moment { get; }
Property Value
Process
public string Process { get; }