using System.Windows.Controls;
using MPF.GUI.ViewModels;

namespace MPF.UserControls
{
    public partial class LogOutput : UserControl
    {
        /// <summary>
        /// Read-only access to the current log view model
        /// </summary>
        public LogViewModel LogViewModel => DataContext as LogViewModel;

        public LogOutput()
        {
            InitializeComponent();
            DataContext = new LogViewModel(this);
        }
    }
}
