You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_logger.Debug<BlockEditorValueConnector>("Mapped {Key} value '{PropertyValue}' to '{ParsedValue}' using {PropertyValueConnectorType} for {PropertyType}.",key,block.PropertyValues[key],parsedValue,propertyValueConnector.GetType(),innerPropertyType.Alias);
121
+
_logger.LogDebug("Mapped {Key} value '{PropertyValue}' to '{ParsedValue}' using {PropertyValueConnectorType} for {PropertyType}.",key,block.PropertyValues[key],parsedValue,propertyValueConnector.GetType(),innerPropertyType.Alias);
_logger.Debug<BlockEditorValueConnector>("Converting {PropertyType} from artifact.",propertyType.Alias);
137
+
_logger.LogDebug("Converting {PropertyType} from artifact.",propertyType.Alias);
138
138
if(string.IsNullOrWhiteSpace(value))
139
139
{
140
140
returnvalue;
@@ -177,7 +177,7 @@ public virtual object FromArtifact(string value, PropertyType propertyType, obje
177
177
178
178
if(innerPropertyType==null)
179
179
{
180
-
_logger.Warn<BlockEditorValueConnector>("No property type found with alias {Key} on content type {ContentType}.",key,contentType.Alias);
180
+
_logger.LogWarning("No property type found with alias {Key} on content type {ContentType}.",key,contentType.Alias);
181
181
continue;
182
182
}
183
183
@@ -200,18 +200,18 @@ public virtual object FromArtifact(string value, PropertyType propertyType, obje
200
200
{
201
201
block.PropertyValues[key]=convertedValue;
202
202
}
203
-
_logger.Debug<BlockEditorValueConnector>("Mapped {Key} value '{PropertyValue}' to '{ConvertedValue}' using {PropertyValueConnectorType} for {PropertyType}.",key,innerValue,convertedValue,propertyValueConnector.GetType(),innerPropertyType.Alias);
203
+
_logger.LogDebug("Mapped {Key} value '{PropertyValue}' to '{ConvertedValue}' using {PropertyValueConnectorType} for {PropertyType}.",key,innerValue,convertedValue,propertyValueConnector.GetType(),innerPropertyType.Alias);
204
204
}
205
205
else
206
206
{
207
207
block.PropertyValues[key]=innerValue;
208
-
_logger.Debug<BlockEditorValueConnector>("{Key} value was null. Setting value as null without conversion.",key);
208
+
_logger.LogDebug("{Key} value was null. Setting value as null without conversion.",key);
209
209
}
210
210
}
211
211
}
212
212
}
213
213
214
-
_logger.Debug<BlockEditorValueConnector>("Finished converting {PropertyType} from artifact.",propertyType.Alias);
214
+
_logger.LogDebug("Finished converting {PropertyType} from artifact.",propertyType.Alias);
0 commit comments