Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 431553b

Browse files
committed
Merge branch 'hotfix/Add_LoggingFactory_registration'
2 parents cf1640b + ca29e9c commit 431553b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

EPi.Libraries.Logging.Serilog/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@
4040

4141
// The following GUID is for the ID of the typelib if this project is exposed to COM
4242
[assembly: Guid("c2f0d9e8-f9e0-47ce-9a1a-b86ac7c004c1")]
43-
[assembly: CLSCompliant(true)]
43+
[assembly: CLSCompliant(true)]
44+
45+
// Register Serlog as Episerver logger factory, https://world.episerver.com/documentation/developer-guides/CMS/logging/
46+
[assembly: EPiServer.Logging.LoggerFactory(typeof(EPi.Libraries.Logging.Serilog.SeriLoggerFactory))]

0 commit comments

Comments
 (0)