-
-
Notifications
You must be signed in to change notification settings - Fork 77
Logging
FantasticFiasco edited this page Oct 31, 2021
·
6 revisions
Normally there is no need to expose the internal log messages, but if there is a need for it the messages can be exposed by configuring the class Logger
in namespace MvvmDialogs.Logging
.
This sample shows how messages are logged using Trace.WriteLine
.
Logger.Writer = message => Trace.WriteLine(message);
The decision to have no dependencies toward third-party logging frameworks like log4net or NLog was a deliberate one. Consumers of this library 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