Skip to content

Commit 87bd4cd

Browse files
committed
add README file
1 parent b2ac4e8 commit 87bd4cd

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

  • Diagnostics/PostSharp.Samples.Logging.ElmahIo
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
TODO
1+
This example demonstrates how to use both PostSharp Logging and the error monitoring service [elmah.io](https://elmah.io) in an ASP.NET Core application.
2+
3+
You will need to create an elmah.io account and use your API key and log id in the setup code in `Program.cs`
4+
5+
`Program.cs` contains initialization logic, and `Startup.cs` has an extra statement that adds additional properties to logged events in elmah.io.
6+
7+
The `[assembly: Log]` custom attribute in `Program.cs` adds logging to the whole project.
8+
9+
We describe this project in some detail in a joint blog post with elmah.io [at our blog](https://blog.postsharp.net/elmah-io).

0 commit comments

Comments
 (0)