ServiceStack 5.0 logging (Serilog) - no .net core package?

When trying to use ServiceStack 5 with Serilog logger on .NET Core app (.netcoreapp2.0) I get the following errors

The type 'ILogFactory' is defined in an assembly that is not referenced. You must add a reference to assembly 'ServiceStack.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587'

Cannot implicitly convert type 'ServiceStack.Logging.Serilog.SerilogFactory' to 'ServiceStack.Logging.ILogFactory'. An explicit conversion exists (are you missing a cast?)

it seems there are no .NET core versions of logger provider packages for 5.0?

.NET Core is meant to use the .NET Core Logging abstraction, but i’ll look at adding .NET Standard builds of logging providers with .NET Core dependencies.

Thanks. I think that’d be a good idea to add .net standard builds for logging providers as using .NET core logging is one more layer of abstraction when depending on ServiceStack logging only

There’s now .NET Standard builds in ServiceStack.Logging.Serilog and ServiceStack.Logging.Slack available from v5.0.1 that’s now available on MyGet.

1 Like

Terrific. thank you!