LoggerExtensionsLogUnsupportedParameter Method
Invoked when a parameter is unsupported.
Namespace: MobileTrack.Common.ExtensionsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
[LoggerMessageAttribute(1059, LogLevel.Critical, "Object that the template is an identifier, but the parameter type {Type} isn't supported! {Id}")]
public static void LogUnsupportedParameter(
this ILogger logger,
ParameterType type,
Guid id
)
- logger ILogger
- Logger
- type ParameterType
- The parameter type that is unsupported
- id Guid
- Identity of the object the type is based on
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).
This means that a bugfix is needed to prevent the parameter type from being used,
or the parameter type needs to be supported by the logic.