Method | Description | |
---|---|---|
AddLogs ( string logRecordName, string logMessage ) : void |
A method is used to add a log record item.
|
|
CleanUpLogs ( ) : void |
A method is used to clean up the existed logs .
|
|
GetAllLogs ( string logRecordName ) : string |
A method is used to get all log record items' information.
|
|
LogsRecorder ( ) : System |
Initializes a new instance of the LogsRecorder class.
|
Method | Description | |
---|---|---|
GetLogValueForSpecifiedLogRecord ( string logRecordName ) : StringBuilder |
A method is used to get log values for specified log record. If the expected log record does not exist for specified log record name, this method will return null.
|
public AddLogs ( string logRecordName, string logMessage ) : void | ||
logRecordName | string | A parameter represents the log record name, it is the unique identifier for the log record. If the left this parameter as empty, the log string will be added into the record named "DefaultLogRecord". |
logMessage | string | A parameter represents the log information will be added. |
return | void |
public GetAllLogs ( string logRecordName ) : string | ||
logRecordName | string | A parameter represents the log record name, it is the unique identifier for the log record. If the left this parameter as empty, the log string of log record named "DefaultLogRecord" will be return. |
return | string |
protected GetLogValueForSpecifiedLogRecord ( string logRecordName ) : StringBuilder | ||
logRecordName | string | A parameter represents the log record name, it is the unique identifier for the log record. If the left this parameter as empty, the log string of log record named "DefaultLogRecord" will be return. |
return | StringBuilder |