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" />
<PackageReference Include="Logger_MM.Core" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Logger_MM.Core&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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; }
}
Links
- Logger_MM.Agent - Client logging agent
- Documentation
- GitHub
| Product | Versions 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.