using EonaCat.Versioning.Helpers;
using System.Reflection;
namespace EonaCat.LogStack;

// This file is part of the EonaCat project(s) which is released under the Apache License.
// See the LICENSE file or go to https://EonaCat.com/License for full license details.

public static class DllInfo
{
    public const string NAME = "EonaCatLogStack";
    public const string VERSION = "0.0.1";

    static DllInfo()
    {
        var isDebug = false;
#if DEBUG
        isDebug = true;
#endif
        VersionName = isDebug ? "DEBUG" : "RELEASE";
    }

    internal static string VersionName { get; }

    public static string ApplicationName { get; set; } = "EonaCatLogStack";

    public static string EonaCatVersion => VersionHelper.GetEonaCatVersion(Assembly.GetExecutingAssembly());
}