You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example demonstrates how to configure verbosity differently for each request using the XML configuration file [postsharp-logging.config](postsharp-logging.config).
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,9 @@ or you can download them on [GitHub](https://www.github.com/postsharp/PostSharp.
26
26
| [PostSharp.Samples.NormalizeString](Framework/PostSharp.Samples.NormalizeString/) | Trims and lowercases strings before they are assigned to a field or property.
27
27
|[PostSharp.Samples.StoredProcedure](Framework/PostSharp.Samples.StoredProcedure/)| Implements something like P-Invoke, but for database stored procedures. |
28
28
| **Diagnostics**
29
-
|[PostSharp.Samples.Logging.Customization](Diagnostics/PostSharp.Samples.Logging.Customization/)| Shows how to customize PostSharp Logging. |
30
29
|[PostSharp.Samples.Logging.Console](Diagnostics/PostSharp.Samples.Logging.Console/)| Demonstrates how to configure PostSharp Logging so that it directs its output to the *system console*. |
30
+
| [PostSharp.Samples.Logging.PerRequest](Diagnostics/PostSharp.Samples.Logging.PerRequest/) | Shows how to have different verbosity for each request,
31
+
|[PostSharp.Samples.Logging.Customization](Diagnostics/PostSharp.Samples.Logging.Customization/)| Shows how to customize PostSharp Logging. |
31
32
|[PostSharp.Samples.Logging.Etw](Diagnostics/PostSharp.Samples.Logging.Etw/)| Demonstrates how to configure PostSharp Logging so that it directs its output to *ETW*. |
32
33
|[PostSharp.Samples.Logging.Etw.CustomSource](Diagnostics/PostSharp.Samples.Logging.Etw.CustomSource/)| Demonstrates how use PostSharp Logging with a custom *ETW* source (instead of the predefined one). |
33
34
|[PostSharp.Samples.Logging.Log4Net](Diagnostics/PostSharp.Samples.Logging.Log4Net/)| Demonstrates how to configure PostSharp Logging so that it directs its output to *log4net*. |
@@ -37,7 +38,6 @@ or you can download them on [GitHub](https://www.github.com/postsharp/PostSharp.
37
38
|[PostSharp.Samples.Logging.CommonLogging](Diagnostics/PostSharp.Samples.Logging.CommonLogging/)| Demonstrates how to configure PostSharp Logging so that it directs its output to *Common.Logging*. |
38
39
|[PostSharp.Samples.Logging.CustomBackend.ServiceStack](Diagnostics/PostSharp.Samples.Logging.CustomBackend.ServiceStack/)| Demonstrates how to implement a PostSharp Logging adapter for your custom logging framework. |
39
40
|[PostSharp.Samples.Logging.Audit](Diagnostics/PostSharp.Samples.Audit/)| Shows how to append an audit record to a database when a method is invoked. |
40
-
|[PostSharp.Samples.Logging.Audit.Extended](Diagnostics/PostSharp.Samples.Audit.Extended/)| Shows how to add custom pieces of information to the audit record. |
41
41
| **Distributed Diagnostics with Elastic Search**
42
42
|[PostSharp.Samples.Logging.ElasticStack/MicroserviceExample](Diagnostics/PostSharp.Samples.Logging.ElasticStack/MicroserviceExample/)| The server-side service demonstrating correlation of logs of a distributed application with Elastic Search. |
43
43
|[PostSharp.Samples.Logging.ElasticStack/ClientExample](Diagnostics/PostSharp.Samples.Logging.ElasticStack/ClientExample/)| The server-side service demonstrating correlation of logs of a distributed application with Elastic Search. |
0 commit comments