XrmEarth.Logger 1.0.0

dotnet add package XrmEarth.Logger --version 1.0.0
NuGet\Install-Package XrmEarth.Logger -Version 1.0.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="XrmEarth.Logger" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XrmEarth.Logger --version 1.0.0
#r "nuget: XrmEarth.Logger, 1.0.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.
// Install XrmEarth.Logger as a Cake Addin
#addin nuget:?package=XrmEarth.Logger&version=1.0.0

// Install XrmEarth.Logger as a Cake Tool
#tool nuget:?package=XrmEarth.Logger&version=1.0.0

✏️ Xrm Earth Logger 📋

  • Provides custom log writing in Dynamics CRM 👍

Description

  • It provides flexible assembly developments that you can use in your Dynamics CRM processes. 🏃
  • Functions in this assembly aim to increase productivity by reducing development loads. ⭐
  • Can be used in plugin, workflow assembly, windows console app, windows service, web service. 😎

Getting Started

Dependencies

  • Dynamics CRM V9 Recommended ❤️

Installing

Example Parameters 🔔

CRM Logger 🚋 (outside the sandbox)

public IOrganizationService Service { get; set; }
var crmConnection = new CrmConnection(Service);
var crmLogger = LogManager.CreateLogger(crmConnection);
LogManager.RegisterAll(crmLogger);

CRM Logger 🔑 (in the plugin,workflow)

public IOrganizationService Service { get; set; }
InitConfiguration.InjectApplication = false; // must be sandbox value=false
InitConfiguration.OverrideAssembly = typeof(IPlugin).Assembly;
var crmConnection = new CrmConnection(service);
var crmLogger = LogManager.CreateLogger(crmConnection);
LogManager.RegisterAll(CrmLogger);

Usage 💾

crmLogger.Info("Test Log Message", 15);
crmLogger.Error("Test Error", 1501, "Tag1 Value","Tag2 Value");
crmLogger.Info("Test Info", 1502, "Tag1 Value", "Tag2 Value");
crmLogger.Warning("Test Warning", 1502, "Tag1 Value", "Tag2 Value");
Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.0.0 208 6/23/2022