<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Perfect thanks!</p>
<p>Now need to manually get rid of all the hep tools banners :)</p>
<p>Thanks a lot Andy!</p>
<p>Holger<br>
</p>
<br>
<div class="moz-cite-prefix">On 14/03/18 16:55, Andy Buckley wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1521064198.local-3a11fd32-0dbd-v1.1.5-5834c99f@getmailspring.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>Hi Holger,</div>
<br>
<div>Modified from test/testApi.cc:</div>
<br>
<div>Rivet::Log::setLevel("Rivet", Rivet::Log::ERROR);</div>
<br>
<div>Hope that works!</div>
<br>
<div>Andy</div>
<br>
<div><signature id="initial">
<div>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<div style="padding-bottom:15px;">
<div><strong>Dr Andy Buckley, Lecturer / Royal
Society University Research Fellow</strong></div>
<div>Particle Physics Experiment Group, University
of Glasgow</div>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top;"><br>
</td>
<td><br>
</td>
</tr>
</tbody>
</table>
</div>
</signature></div>
<div class="gmail_quote_attribution">On Mar 14 2018, at 4:55 pm,
Holger Schulz <a class="moz-txt-link-rfc2396E" href="mailto:hschulz@fnal.gov"><hschulz@fnal.gov></a> wrote:</div>
<blockquote><br>
<div>
<div>Hi,</div>
<br>
<div>is there an elegant way to set the log level globally</div>
<div>through the C++ API?</div>
<br>
<div>My program only uses Rivet::AnalysisHandler.</div>
<br>
<br>
<div>Thanks,</div>
<div>Holger</div>
<br>
<div>_______________________________________________</div>
<div>Rivet mailing list</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a></div>
<div><a class="moz-txt-link-freetext" href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></div>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rivet mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a>
<a class="moz-txt-link-freetext" href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></pre>
</blockquote>
<br>
</body>
</html>