Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

LogMessage model

Travis edited this page Aug 8, 2013 · 6 revisions

LogMessage is a private class inherits from TableEntity and represents what will be recorded in Azure table storage.

The class itself is not accessible at this stage, but it is a good idea to understand the structure of this model.

  • Namespace: ClickView.AzureCloudLogger.Models

Syntax

public class LogMessage : TableEntity

Public Instance Properties

Name Description
PartitionKey Categorisation of different types of table records. This is used to distinguish different log level. Expected values in the field are: DEBUG, INFO, WARN, ERROR and FETAL.
RowKey An unique key consistent of a timestamp (in yyyy-MM-dd HH:mm:ss.fff format) and a random GUID. The printed time are UTC.
Timestamp Date record generated. The printed time are UTC.
LoggerVersion Version of AzureCloudLogger used to generate this record.
MachineName Name of the machine that runs the application that generates the log.
Sender Namespace and class name of the source who triggers the log.
Message Content of the log.
ExceptionMessage Message of exception when an exception is provided.
ExceptionTraceLog A trace log of exception and its inner exceptions when an exception is provided.
Clone this wiki locally