ReceiverExtensionsLogInvalidEventDateTime Method
Logs when a device message is received with an invalid EventDateTime.
Namespace: MobileTrack.Receiver.ExtensionsAssembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
[LoggerMessageAttribute(1605, LogLevel.Warning, "Received device message with invalid EventDateTime: {EventDateTime}. Using current UTC time instead.")]
public static void LogInvalidEventDateTime(
this ILogger logger,
DateTimeOffset eventDateTime
)
- logger ILogger
- Logger
- eventDateTime DateTimeOffset
- The invalid event date/time received
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).