GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSPrint.cc File Reference

Print a custom std::cout end std::cerr handling verbosity. More...

Include dependency graph for GGEMSPrint.cc:

Go to the source code of this file.

Functions

void set_ggems_verbose (GGint verbosity)
 Set the verbosity of output stream. More...
 

Variables

GGEMSStream GGcout = GGEMSStream(std::cout, GGEMSConsoleColor::green)
 
GGEMSStream GGcerr = GGEMSStream(std::cerr, GGEMSConsoleColor::red)
 
GGEMSStream GGwarn = GGEMSStream(std::cout, GGEMSConsoleColor::yellow)
 

Detailed Description

Print a custom std::cout end std::cerr handling verbosity.

Author
Julien BERT julie.nosp@m.n.be.nosp@m.rt@un.nosp@m.iv-b.nosp@m.rest..nosp@m.fr
Didier BENOIT didie.nosp@m.r.be.nosp@m.noit@.nosp@m.inse.nosp@m.rm.fr
LaTIM, Brest, FRANCE
Version
1.0
Date
Monday September 23, 2019

Definition in file GGEMSPrint.cc.

Function Documentation

◆ set_ggems_verbose()

void set_ggems_verbose ( GGint  verbosity)

Set the verbosity of output stream.

Parameters
verbosity- level of verbosity

Definition at line 81 of file GGEMSPrint.cc.

Variable Documentation

◆ GGcerr

GGEMSStream GGcerr = GGEMSStream(std::cerr, GGEMSConsoleColor::red)

Define a new std::cerr with green red

Definition at line 35 of file GGEMSPrint.cc.

◆ GGcout

GGEMSStream GGcout = GGEMSStream(std::cout, GGEMSConsoleColor::green)

Define a new std::cout with green color

Definition at line 34 of file GGEMSPrint.cc.

◆ GGwarn

GGEMSStream GGwarn = GGEMSStream(std::cout, GGEMSConsoleColor::yellow)

Define a new std::cout for warning with orange color

Definition at line 36 of file GGEMSPrint.cc.