This article describes an approach to writing to a custom error log and to writing events into the system event log.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.