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
Ideally, calling new LoggerConfiguration().Destructure.AsScalar(Type scalarType)
should be supported by ReadFrom.KeyValuePairs() with the format : "serilog:destructure:AsScalar.scalarType" / "qualified type name".
This means :
making the method available even though it is not an extension method (needs a surrogate method with proper extension-method-ish signature)
knowing how to handle parameters of type Type when given a qualified type name.
In addition, it would be good to
check if a Assembly fully qualified type name (TopNamespace.SubNameSpace.ContainingClass, MyAssembly, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b17a5c561934e089) is required, or if we can do with only a Fully qualified type name (TopNamespace.SubNameSpace.ContainingClass) given that using directives already import an assembly (see also KeyValuePairSettings : support non "assembly-qualified" typenames #1065 ).
see how that would translate in the Serilog.Settings.Configuration side of things ...
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
based on comments from #1174 (comment)
Ideally, calling
new LoggerConfiguration().Destructure.AsScalar(Type scalarType)
should be supported by
ReadFrom.KeyValuePairs()
with the format :"serilog:destructure:AsScalar.scalarType"
/"qualified type name"
.This means :
Type
when given a qualified type name.In addition, it would be good to
TopNamespace.SubNameSpace.ContainingClass, MyAssembly, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b17a5c561934e089
) is required, or if we can do with only a Fully qualified type name (TopNamespace.SubNameSpace.ContainingClass
) given thatusing
directives already import an assembly (see also KeyValuePairSettings : support non "assembly-qualified" typenames #1065 ).The text was updated successfully, but these errors were encountered: