Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 327 Bytes

GCop100.md

File metadata and controls

19 lines (12 loc) · 327 Bytes

GCop 100

"Replace with Log.Error(...)"

Rule description

Log.Error(...) is a shortcut to ApplicationEventManager.RecordException(myException); and should be used instead.

Example

ApplicationEventManager.RecordException(myException);

should be 🡻

Log.Error(myException);