<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>
      <blockquote type="cite">and you have a mix of old-style and
        new-style loglevels in use.
      </blockquote>
      Yeah, that's a general problem we can't really avoid.<br>
    </p>
    <p>Here's another suggestion:</p>
    <p>Since logpost() really supersedes verbose(), we could allow
      t_loglevel to be only used with the former (with PD_CRITICAL = 0),
      but not with the latter. We just have to add an appropriate
      comment, e.g.</p>
    <p>/* possible log levels for logpost(). NOTE: don't use with
      verbose()! */</p>
    <p>enum t_loglevel { ... };<br>
    </p>
    <p>This would have the nice side effect of nudging people to use
      logpost() over verbose() for trackable printing.</p>
    <p>Existing externals continue to work as expected and everybody is
      happy.<br>
    </p>
    <p>Christof<br>
    </p>
    <div class="moz-cite-prefix">On 25.08.2021 11:19, IOhannes m
      zmoelnig wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:0399495c-23e6-567c-39ad-c5e0c8ae665b@iem.at">On 8/25/21
      11:13 AM, Dan Wilcox wrote:
      <br>
      <blockquote type="cite">Sounds good to me.
        <br>
        <br>
        I would suggest considering a compatibility mode / compile time
        option to preserve existing functionality for </blockquote>
      <br>
      right, i was thinking about suggesting to use "-compatibility" for
      retaining backward compat.
      <br>
      otoh. this doesn't help at all once externals start using the new
      scheme and you have a mix of old-style and new-style loglevels in
      use.
      <br>
      <br>
      fgmasrd
      <br>
      IOhannes
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Pd-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pd-dev@lists.iem.at">Pd-dev@lists.iem.at</a>
<a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-dev">https://lists.puredata.info/listinfo/pd-dev</a>
</pre>
    </blockquote>
  </body>
</html>