Default Enabled LogRecordKind

Esben Bach's Avatar

Esben Bach

04 Sep, 2018 12:51 PM

Im trying to change the default logging profile and going through the properties here:
http://doc.postsharp.net/t_postsharp_patterns_diagnostics_loggingpr... there is a property EnabledRecordKinds.
What are the defaults for this value for the three builtin profiles? I can't seem to find this anywhere.

  1. Support Staff 1 Posted by PostSharp Techn... on 05 Sep, 2018 03:19 PM

    PostSharp Technologies's Avatar

    Hello,

    The default values are:

    • for Default, LogRecordKind.MethodEntry | LogRecordKind.MethodException | LogRecordKind.AsyncMethodResume | LogRecordKind.MethodSuccess | LogRecordKind.AsyncMethodAwait | LogRecordKind.ValueChanged | LogRecordKind.IteratorMoveNext | LogRecordKind.IteratorYield
    • for Exceptions, LogRecordKind.MethodException
    • for Audit, LogRecordKind.MethodSuccess | LogRecordKind.MethodException | LogRecordKind.MethodOvertime

    Please keep in mind that all combinations of LogRecordKinds are supported.

    Regards,
    Roman

  2. Support Staff 2 Posted by PostSharp Techn... on 11 Sep, 2018 03:49 PM

    PostSharp Technologies's Avatar

    Hello,

    We are going to close this request as there have not been any further updates. Please feel free to reopen the discussion if you need more help.

    Thanks,
    PostSharp Team

  3. PostSharp Technologies closed this discussion on 11 Sep, 2018 03:49 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac