@@ -41,12 +41,12 @@ public NestedContentValueConnector(IContentTypeService contentTypeService, Lazy<
41
41
42
42
public string ToArtifact ( object value , PropertyType propertyType , ICollection < ArtifactDependency > dependencies )
43
43
{
44
- _logger . Info < NestedContentValueConnector > ( "Converting {PropertyType} to artifact." , propertyType . Alias ) ;
44
+ _logger . Debug < NestedContentValueConnector > ( "Converting {PropertyType} to artifact." , propertyType . Alias ) ;
45
45
var svalue = value as string ;
46
46
47
47
if ( string . IsNullOrWhiteSpace ( svalue ) )
48
48
{
49
- _logger . Warn < NestedContentValueConnector > ( $ "Value is null or whitespace. Skipping conversion to artifact.") ;
49
+ _logger . Debug < NestedContentValueConnector > ( $ "Value is null or whitespace. Skipping conversion to artifact.") ;
50
50
return null ;
51
51
}
52
52
@@ -126,16 +126,16 @@ public string ToArtifact(object value, PropertyType propertyType, ICollection<Ar
126
126
}
127
127
128
128
value = JsonConvert . SerializeObject ( nestedContent ) ;
129
- _logger . Info < BlockEditorValueConnector > ( "Finished converting {PropertyType} to artifact." , propertyType . Alias ) ;
129
+ _logger . Debug < BlockEditorValueConnector > ( "Finished converting {PropertyType} to artifact." , propertyType . Alias ) ;
130
130
return ( string ) value ;
131
131
}
132
132
133
133
public object FromArtifact ( string value , PropertyType propertyType , object currentValue )
134
134
{
135
- _logger . Info < NestedContentValueConnector > ( "Converting {PropertyType} from artifact." , propertyType . Alias ) ;
135
+ _logger . Debug < NestedContentValueConnector > ( "Converting {PropertyType} from artifact." , propertyType . Alias ) ;
136
136
if ( string . IsNullOrWhiteSpace ( value ) )
137
137
{
138
- _logger . Warn < NestedContentValueConnector > ( $ "Value is null or whitespace. Skipping conversion from artifact.") ;
138
+ _logger . Debug < NestedContentValueConnector > ( $ "Value is null or whitespace. Skipping conversion from artifact.") ;
139
139
return value ;
140
140
}
141
141
@@ -219,7 +219,7 @@ public object FromArtifact(string value, PropertyType propertyType, object curre
219
219
// Note: NestedContent does not use formatting when serializing JSON values.
220
220
value = JArray . FromObject ( nestedContent ) . ToString ( Formatting . None ) ;
221
221
222
- _logger . Info < NestedContentValueConnector > ( "Finished converting {PropertyType} from artifact." , propertyType . Alias ) ;
222
+ _logger . Debug < NestedContentValueConnector > ( "Finished converting {PropertyType} from artifact." , propertyType . Alias ) ;
223
223
224
224
return value ;
225
225
}
0 commit comments