Builds the event log message.
Namespace:
CuttingEdge.LoggingAssembly: CuttingEdge.Logging (in CuttingEdge.Logging.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Protected Overridable Function BuildEventLogMessage ( _ entry As LogEntry _ ) As String |
| C# |
|---|
protected virtual string BuildEventLogMessage( LogEntry entry ) |
| Visual C++ |
|---|
protected: virtual String^ BuildEventLogMessage( LogEntry^ entry ) |
| JavaScript |
|---|
function buildEventLogMessage(entry); |
Parameters
- entry
- Type: CuttingEdge.Logging..::.LogEntry
The entry that will be used to build the message.
Return Value
The message.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown when entry is null. |
| System..::.ArgumentNullException | Thrown when entry is a null (Nothing in VB) reference. |