Logs the specified entry.

Namespace:  CuttingEdge.Logging
Assembly:  CuttingEdge.Logging (in CuttingEdge.Logging.dll)

Syntax

Visual Basic (Declaration)
Function Log ( _
	entry As LogEntry _
) As Object
C#
Object Log(
	LogEntry entry
)
Visual C++
Object^ Log(
	LogEntry^ entry
)
JavaScript
function log(entry);

Parameters

entry
Type: CuttingEdge.Logging..::.LogEntry
The entry to log.

Return Value

The id of the saved log (or null when an id is not appropriate for this type of logger.

Remarks

Implementations of this method must guarantee to be thread safe.

Exceptions

ExceptionCondition
System..::.ArgumentNullException Thrown when the given entry is a null reference.

See Also