{"id":21954811,"url":"https://github.com/mgernand/nhibernate.logging","last_synced_at":"2025-04-23T12:11:41.385Z","repository":{"id":6843909,"uuid":"8092478","full_name":"mgernand/NHibernate.Logging","owner":"mgernand","description":"Logging provider to allow Common.Logging to be used with NHibernate.","archived":false,"fork":false,"pushed_at":"2024-11-01T12:35:47.000Z","size":1419,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T12:03:39.174Z","etag":null,"topics":["commonlogging","logging","nhibernate"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgernand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-02-08T11:38:00.000Z","updated_at":"2024-11-01T12:35:49.000Z","dependencies_parsed_at":"2024-11-29T10:01:08.088Z","dependency_job_id":null,"html_url":"https://github.com/mgernand/NHibernate.Logging","commit_stats":{"total_commits":46,"total_committers":6,"mean_commits":7.666666666666667,"dds":0.3695652173913043,"last_synced_commit":"04730bd38b54620dd231e9e3692660dc089aa278"},"previous_names":["mgernand/nhibernate-logging"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgernand%2FNHibernate.Logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgernand%2FNHibernate.Logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgernand%2FNHibernate.Logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgernand%2FNHibernate.Logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgernand","download_url":"https://codeload.github.com/mgernand/NHibernate.Logging/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250430592,"owners_count":21429324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commonlogging","logging","nhibernate"],"created_at":"2024-11-29T07:26:11.629Z","updated_at":"2025-04-23T12:11:41.326Z","avatar_url":"https://github.com/mgernand.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# NHibernate Logging Providers\n\nThe current version **5.5.2** is available as [NuGet package](http://nuget.org/packages/NHibernate.Logging/).\nThis version is built against NHibernate 5.5.2 and Common.Logging 3.4.1.\n\nNHibernate Logging Providers makes it possible to use your favourite logger with NHibernate. \nYou no longer have to use log4net. The new NHibernate (since NH3) logging abstraction makes \nthis possible. The provider is developed .NET Standard 2.0.\n\n## Available Logging Providers\n\nThe current release contains log providers for the following logging frameworks.\n\n* [Common.Logging 3.4.1](https://github.com/net-commons/common-logging)\n\nCommon.Logging 3.4.1 supports several other logging frameworks. So you can use\neach of them with NHibernate via Common.Logging 3.4.1 abstraction.\n\nReview the [NHibernate Wiki](http://nhibernate.info/doc/howto/various/using-nlog-via-common-logging-with-nhibernate.html) for additional informations. Please leave a comment if you \nlike it or not. 😉\n\n## NuGet package\n\nThe repository contains a *.nuspec file for creating a NuGet package since the last release. \nThe file was created and contributed by [Matthew Ferreira](https://nuget.org/packages?q=Matthew%20Ferreira). \nThanks again for the effort.\n\n## Getting Started\n\nAdd the [NuGet package](http://nuget.org/packages/NHibernate.Logging/) to your project. Install\nall nessessary Common.Logging packages for the logging provider you want to use.\n\nTo enable the log provider you have to add the following lines to your Web.config or App.config:\n\n```xml\n\u003cappSettings\u003e\n  \u003cadd key=\"nhibernate-logger\" \n       value=\"NHibernate.Logging.CommonLogging.CommonLoggingLoggerFactory, NHibernate.Logging.CommonLogging\"/\u003e\n\u003c/appSettings\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgernand%2Fnhibernate.logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgernand%2Fnhibernate.logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgernand%2Fnhibernate.logging/lists"}