FreeVBCode code snippet: Application Logging Class