Logger_MM.Core 1.2.0

dotnet add package Logger_MM.Core --version 1.2.0
                    
NuGet\Install-Package Logger_MM.Core -Version 1.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Logger_MM.Core" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Logger_MM.Core" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Logger_MM.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Logger_MM.Core --version 1.2.0
                    
#r "nuget: Logger_MM.Core, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Logger_MM.Core@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Logger_MM.Core&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Logger_MM.Core&version=1.2.0
                    
Install as a Cake Tool

Logger_MM.Core

Core models and DTOs for Logger_MM logging system.

Overview

This package contains shared models used by both Logger_MM.Agent and Logger_MM.Observer:

  • Models: Application, Session, LogEntry, FileRecord
  • DTOs: Request/Response objects for API communication
  • Attachments: File attachment support

Installation

dotnet add package Logger_MM.Core

Note: If you're building a client application, use Logger_MM.Agent instead - it includes this package as a dependency.

Models

LogEntry

public class LogEntry
{
    public string User { get; set; }
    public string Level { get; set; }      // Debug, Info, Warning, Error, Critical
    public string Type { get; set; }       // Basic, UserAction, LlmCall, etc.
    public string Module { get; set; }
    public string Function { get; set; }
    public string Message { get; set; }
    public JsonDocument? Params { get; set; }
    public JsonDocument? Input { get; set; }
    public JsonDocument? Output { get; set; }
    public string? Exception { get; set; }
    public string[]? Tags { get; set; }
    public string? CorrelationId { get; set; }
    public DateTime Timestamp { get; set; }
}

Session

public class Session
{
    public Guid Id { get; set; }
    public Guid ApplicationId { get; set; }
    public string Token { get; set; }
    public string AppVersion { get; set; }
    public string MachineName { get; set; }
    public string IP { get; set; }
    public DateTime StartedAt { get; set; }
    public DateTime LastActivityAt { get; set; }
    public DateTime? EndedAt { get; set; }
}
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 201 12/22/2025
1.1.0 202 12/22/2025
1.0.0 297 12/16/2025