Method IsLogValid
IsLogValid(object, string, LogPriority, string)
To determinate whether the log is valid to be output
Declaration
public bool IsLogValid(object context, string log, LogPriority priority, string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| object | context | The context where output the log |
| string | log | The log message |
| LogPriority | priority | Log Priority |
| string | prefix | The Log prefix |
Returns
| Type | Description |
|---|---|
| bool | True if this log message should be output |