Table of Contents

Message Section

The Message Section displays application messages and logs at the bottom of the Main Panel.

Message Handling

The Message Section is connected to MessageHost.Default through the OnAdding event. When a message is added:

  1. The Brief Message Text Field content is updated
  2. The message is appended to the daily log file at logs/log-{DateTime.Now:yyyy-MM-dd}.txt

Message Types

The MessageFlag determines the display behavior:

Flag Display Behavior
Exception Alert style, shown in Message Section
Warning and above Shown in Message Section
Info and below Logged only, not shown in Message Section
Note

When the message is an Exception, the brief message shows Message while the full exception details are logged to file.

Platform-Specific Layouts

WPF Application

The WPF version uses a fixed bottom bar:

  • Message Section Bottom Bar
    • Brief Message Text Field (selectable for copy)
    • Show Log Button

Web Application

The Web version uses Bootstrap-style stacking toasts:

  • Message Section Stacking Toast
    • Brief Message Text Field
    • Auto-hide enabled only for low-priority messages

Log Page

The Log Page provides access to daily logs:

  • Header: Log Label, Refresh Button, Download Button
  • Content: Log TextArea

Show Log Button

The Show Log Button opens a modal or editor view displaying the current day's log content.

Note

The log file may not exist if no messages have been recorded yet.