Niels Maschmeyer

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Version 6 wishlist ? #2495
    Niels Maschmeyer
    Participant

      I would like to use Codesite for general logging and for that it would be nice to have the following feature.

      A way to define what message types would be blocked. At the moment I can only set if Codesite is enabled or disabled like below:

      {$IFDEF RELEASE}
      CodeSite.Enabled := FALSE;
      {$ENDIF}
      {$IFDEF DEBUG}
      CodeSite.Enabled := TRUE;

      {$ENDIF}

      If we could define what kind of message type flow through the log it would be more flexible:

      {$IFDEF RELEASE}
      CodeSite.MsgType.Blocked := [mtNote,mtInfo];

      {$ENDIF}
      {$IFDEF DEBUG}
      CodeSite.MsgType.Blocked := [];

      {$ENDIF}

    Viewing 1 post (of 1 total)