From 7852f6c75d66a2748123616a5cd384461e8e4086 Mon Sep 17 00:00:00 2001 From: prestoncraw Date: Fri, 3 Apr 2026 16:03:52 -0400 Subject: [PATCH] Move UILogMessage to prevent circular deps --- src/Gemstone.Data/Model/UILogMessage.cs | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/Gemstone.Data/Model/UILogMessage.cs diff --git a/src/Gemstone.Data/Model/UILogMessage.cs b/src/Gemstone.Data/Model/UILogMessage.cs new file mode 100644 index 000000000..a9fba059e --- /dev/null +++ b/src/Gemstone.Data/Model/UILogMessage.cs @@ -0,0 +1,54 @@ +//****************************************************************************************************** +// LogMessage.cs - Gbtc +// +// Copyright © 2025, Grid Protection Alliance. All Rights Reserved. +// +// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See +// the NOTICE file distributed with this work for additional information regarding copyright ownership. +// The GPA licenses this file to you under the MIT License (MIT), the "License"; you may not use this +// file except in compliance with the License. You may obtain a copy of the License at: +// +// http://opensource.org/licenses/MIT +// +// Unless agreed to in writing, the subject software distributed under the License is distributed on an +// "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the +// License for the specific language governing permissions and limitations. +// +// Code Modification History: +// ---------------------------------------------------------------------------------------------------- +// 10/28/2025 - C. Lackner +// Generated original version of source code. +// +//****************************************************************************************************** + +using System; +using Gemstone.Diagnostics; + +namespace Gemstone.Data.Model; + +/// +/// Defines a log message send by the System +/// +/// +public class UILogMessage +{ + /// + /// The source of the log message. For Adapters this is the Adapter Name. For system messages it is an empty string. + /// + public string Source { get; set; } + + /// + /// The message content. + /// + public string Message { get; set; } + + /// + /// The Timestamp associated with the message. + /// + public DateTime TimeStamp { get; set; } + + /// + /// The associates with this . + /// + public MessageLevel Level { get; set; } +}