CreateLogger(string)
Creates a new logger that sends ASP.NET logging events into PostSharp as manual events, under the given log source name.
Declaration
public ILogger CreateLogger(string categoryName)
Parameters
Type | Name | Description |
---|---|---|
string | categoryName | This will be the log source name of the log source created in the PostSharp backend. |
Returns
Type | Description |
---|---|
ILogger | An ASP.NET logger. |