Click or drag to resize

ErrorLog Class

Class to allow the CustomApplication to log errors. Starting with firmware version 1.500 and higher, the contents of the error log will also get posted to the Remote Sys Logger if it is enabled.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpErrorLog

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static class ErrorLog

The ErrorLog type exposes the following members.

Methods
 NameDescription
Public methodStatic memberError(String) Log a user generated error to the system's error log.
Public methodStatic memberError(String, Object) Writes the text representation of the specified array of objects to error log using the specified format information.
Public methodStatic memberError(String, String) Function to log an error
Public methodStatic memberException Function to log an exception
Public methodStatic memberInfo(String) Log Info Message
Public methodStatic memberInfo(String, Object) Writes the text representation of the specified array of objects to error log using the specified format information.
Public methodStatic memberNotice(String) Log a user generated notice to the system's error log.
Public methodStatic memberNotice(String, Object) Writes the text representation of the specified array of objects to error log using the specified format information.
Public methodStatic memberOk(String) Log a user generated OK message to the system's error log.
Public methodStatic memberOk(String, Object) Writes the text representation of the specified array of objects to error log using the specified format information.
Public methodStatic memberWarn(String) Log a user generated warning to the system's error log.
Public methodStatic memberWarn(String, Object) Writes the text representation of the specified array of objects to error log using the specified format information.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also