serilog / serilog-sinks-async

An asynchronous wrapper for Serilog sinks that logs on a background thread
Apache License 2.0
231 stars 30 forks source link

There is no WriteTo.Async even I have install this package in my WPF app with .net core 3.1 framework #54

Closed arga1234 closed 4 years ago

arga1234 commented 4 years ago

Here I try to using WriteTo.Async(), but why there is no Async() method after WriteTo. When I try to write the Async() it will give me error like this 'LoggerSinkConfiguration' doest not contain a definition for 'Async' and no accessible method 'Async' accepting a first argument of type 'LoggerSinkConfiguration' could be found (are you missing some directive or an assembly reference ?) , how can I resolve this ?

bartelink commented 4 years ago

Best to ask on Stackoverflow with sample code and the full error message for a quick response. This package has 5000 downloads per day successful users, so the chances are its more likely to be an issue in the config of your project than a problem with the package. Have you done a using Serilog ?

arga1234 commented 4 years ago

it is caused by my internal projects, I will close this