-
-
Notifications
You must be signed in to change notification settings - Fork 77
Logging
Mattias Kindborg edited this page May 19, 2016
·
6 revisions
Normally there is no need to expose the internal log messages, but if the need emerges it is possible using configuration of the class Logger
in namespace MvvmDialogs.Logging
.
This sample shows how messages are logged using Trace.WriteLine
.
Logger.Writer = message => Trace.WriteLine(message);
The choice to have no dependencies toward third-party logging frameworks like log4net or NLog was a deliberate one. Consumers of this framework should not be force-fed with other dependencies.
Introduction
Dialog types
- Modal and non‐modal dialogs
- Message box
- Open file dialog
- Save file dialog
- Folder browser dialog
- Custom modal and non‐modal dialogs
- Custom message box
- Custom open file dialog
- Custom save file dialog
- Custom folder browser dialog
Configuration
Advanced usage