PowerMVVM
Wiki
Source
NuGet
Wiki
Source
NuGet
  • Commands

    • Introduction
    • Usage
    • Loading Indicators
    • Logging
    • Testability
  • Core

    • Introduction
  • Exploring

    • Preview Builds
    • Demo Project

Logging

You can use your preferred logging framework or method by creating a logging provider inheriting from ILoggingProvider. This allows to gain information about

  • when the command was called and whith which parameter
  • the exception that occured, in case an exception occured
  • when the command call completed

Register the LoggingProvider via the static property:

Command.LoggingProvider = new MyLoggingProviderImplementation();
Last Updated: 5/4/21, 4:36 PM
Contributors: Florian Traxler
Prev
Loading Indicators
Next
Testability