Is it possible to avoid using logging? #4891
Unanswered
dave-murray
asked this question in
Q&A
Replies: 1 comment
-
|
Serilog is not a requirement, only Microsoft.Extensions.Logging.Abstractions is a direct dependency in MvvmCross. You can provide a protected override ILoggerFactory CreateLogFactory() => new NullLoggerFactory();
protected override ILoggerProvider CreateLogProvider() => NullLoggerProvider.Instance; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
MvvmCross built in logging support requires three Nuget libraries that need to be kept up to date but our app has never used this feature having used AppCenter for years and now Sentry. Is there a way to setup MvvmCross without logging so I can remove these unnecessary libraries from our app?
Microsoft.Extensions.Logging
Serilog
Serilog.Extensions.Logging
Beta Was this translation helpful? Give feedback.
All reactions