File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -246,8 +246,9 @@ protected void EnsureConnected()
246
246
247
247
private void ConnectClient ( )
248
248
{
249
+ NLog . Common . InternalLogger . Debug ( "Fluentd Connecting to {0}:{1}" , this . Host , this . Port ) ;
249
250
this . client . Connect ( this . Host , this . Port ) ;
250
- this . stream = this . client . GetStream ( ) ;
251
+ this . stream = new BufferedStream ( this . client . GetStream ( ) ) ;
251
252
this . emitter = new FluentdEmitter ( this . stream ) ;
252
253
}
253
254
@@ -344,7 +345,7 @@ protected override void Write(LogEventInfo logEvent)
344
345
345
346
private static object SerializePropertyValue ( string propertyKey , object propertyValue )
346
347
{
347
- if ( propertyValue == null || Convert . GetTypeCode ( propertyValue ) != TypeCode . Object || propertyValue is decimal )
348
+ if ( propertyValue == null || Convert . GetTypeCode ( propertyValue ) != TypeCode . Object )
348
349
{
349
350
return propertyValue ; // immutable
350
351
}
Original file line number Diff line number Diff line change 32
32
33
33
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
34
34
<PackageReference Include =" MsgPack.Cli" Version =" 0.9.2" />
35
- <PackageReference Include =" NLog" Version =" 4.5.0-rc03 " />
35
+ <PackageReference Include =" NLog" Version =" 4.5.0" />
36
36
</ItemGroup >
37
37
38
38
You can’t perform that action at this time.
0 commit comments