How to capture the conditional statement block logs from post sharp ?

n_k_manish's Avatar

n_k_manish

03 Jun, 2017 12:41 PM

Hi Team,
 
Can you please let me know. Is it possible to capture the conditional statement block logs from post sharp.?

Is regular expression for PostSharp capture the conditional statement.? if yes please provide me some sample or some documentation. So I am thankful to you.

Thanks,
Kumar Manish

  1. Support Staff 1 Posted by PostSharp Techn... on 14 Jun, 2017 10:17 AM

    PostSharp Technologies's Avatar

    Hello,

    It is not possible to capture the conditional statement blocks or any specific blocks within a method body with PostSharp. You can intercept a method invocation with PostSharp and you can inject aspect on specific method boundaries, such as entry, exit, exception, etc.

    -alex

  2. PostSharp Technologies closed this discussion on 14 Jun, 2017 10:17 AM.

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