AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::slic::message Namespace Reference

Enumerations

enum  Level {
  Error , Warning , Info , Debug ,
  Num_Levels
}
 

Functions

static std::string getLevelAsString (Level l)
 Returns the string name representation of the given level. More...
 

Enumeration Type Documentation

◆ Level

Enumerator
Error 

ERROR log an error that may be recoverable.

Warning 

WARNING log a warning.

Info 

INFO log information that is useful for users & developers.

Debug 

DEBUG log information that is useful for developers.

Num_Levels 

Num_Levels.

Function Documentation

◆ getLevelAsString()

static std::string axom::slic::message::getLevelAsString ( Level  l)
inlinestatic

Returns the string name representation of the given level.

Parameters
[in]lthe level in query.
Returns
name a string corresponding to the name of the given leve.
Precondition
l >= 0 && l < Num_levels
Postcondition
name="UNKNOWN-LEVEL" \iff (l < 0) || (l >= Num_Levels)

References Num_Levels.