diff --git a/src/Avalonia.Base/Logging/LogArea.cs b/src/Avalonia.Base/Logging/LogArea.cs index 98ef6d2530..972a9a1e9d 100644 --- a/src/Avalonia.Base/Logging/LogArea.cs +++ b/src/Avalonia.Base/Logging/LogArea.cs @@ -8,51 +8,66 @@ namespace Avalonia.Logging /// /// The log event comes from the property system. /// - public const string Property = "Property"; + public const string Property = nameof(Property); /// /// The log event comes from the binding system. /// - public const string Binding = "Binding"; + public const string Binding = nameof(Binding); /// /// The log event comes from the animations system. /// - public const string Animations = "Animations"; + public const string Animations = nameof(Animations); /// /// The log event comes from the visual system. /// - public const string Visual = "Visual"; + public const string Visual = nameof(Visual); /// /// The log event comes from the layout system. /// - public const string Layout = "Layout"; + public const string Layout = nameof(Layout); /// /// The log event comes from the control system. /// - public const string Control = "Control"; + public const string Control = nameof(Control); /// - /// The log event comes from Win32Platform. + /// The log event comes from Win32 Platform. /// public const string Win32Platform = nameof(Win32Platform); /// - /// The log event comes from X11Platform. + /// The log event comes from X11 Platform. /// public const string X11Platform = nameof(X11Platform); /// - /// The log event comes from AndroidPlatform. + /// The log event comes from Android Platform. /// public const string AndroidPlatform = nameof(AndroidPlatform); /// - /// The log event comes from IOSPlatform. + /// The log event comes from iOS Platform. /// public const string IOSPlatform = nameof(IOSPlatform); + + /// + /// The log event comes from LinuxFramebuffer Platform + /// + public const string LinuxFramebufferPlatform = nameof(LinuxFramebufferPlatform); + + /// + /// The log event comes from FreeDesktop Platform + /// + public const string FreeDesktopPlatform = nameof(FreeDesktopPlatform); + + /// + /// The log event comes from macOS Platform + /// + public const string macOSPlatform = nameof(macOSPlatform); } }