Lumberjack User Guide¶
Lumberjack, named because it cuts down logs, is a C++ library that provides scalable logging while reducing the amount of messages written out the screen or file system.
Lumberjack was created to provide scalable logging with a simple programming model while allowing developers to customize its behavior. It is named Lumberjack because it cuts down logs. It uses MPI and a scalable binary tree reduction scheme to combine duplicate messages and limit output to only the root node.
- MPI - MPI is fundamental to Lumberjack and without MPI, Lumberjack is not useful.
You tell if Axom was built with Lumberjack enabled by using the following include and compiler define:
#include "axom/config.hpp" #ifdef AXOM_USE_LUMBERJACK // Lumberjack code #endif