[Rivet] Turn off all messages

Andy Buckley andy.buckley at cern.ch
Wed Mar 14 21:55:22 GMT 2018


Hi Holger,

Modified from test/testApi.cc:
Rivet::Log::setLevel("Rivet", Rivet::Log::ERROR);
Hope that works!
Andy
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Experiment Group, University of Glasgow

On Mar 14 2018, at 4:55 pm, Holger Schulz <hschulz at fnal.gov> wrote:
>
> Hi,
> is there an elegant way to set the log level globally
> through the C++ API?
>
> My program only uses Rivet::AnalysisHandler.
>
> Thanks,
> Holger
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180314/7264963d/attachment-0001.html>


More information about the Rivet mailing list