Method GetPrefix
GetPrefix(object, string, LogPriority)
Get context info prefix for log
Declaration
protected override string GetPrefix(object context, string log, LogPriority priority)
Parameters
Type | Name | Description |
---|---|---|
object | context | The context where output the log |
string | log | The log message |
LogPriority | priority | Log Priority |
Returns
Type | Description |
---|---|
string | The context info prefix in format 'Context: {contextInfo}' |