Celeritas 0.7.0-dev.290+develop.6f2e532a
Loading...
Searching...
No Matches
Functions
Logger.cc File Reference
#include "Logger.hh"
#include <iostream>
#include "corecel/Assert.hh"
#include "LogHandlers.hh"
#include "LoggerTypes.hh"

Functions

Loggerceleritas::world_logger ()
 App-level logger: print only on "main" process.
 
Loggerceleritas::self_logger ()
 Serial logger: print on every process that calls it.
 

Function Documentation

◆ self_logger()

Logger & celeritas::self_logger ( )

Serial logger: print on every process that calls it.

Setting the "CELER_LOG_LOCAL" environment variable to "debug", "info", "error", etc. will change the default log level.

See also
CELER_LOG_LOCAL .

◆ world_logger()

Logger & celeritas::world_logger ( )

App-level logger: print only on "main" process.

Setting the "CELER_LOG" environment variable to "debug", "info", "error", etc. will change the default log level.

See also
CELER_LOG .