Tracer  v0.0.1
A platform independant stack trace generator
tracer::DefaultPrinter::Config Struct Reference

User configuration structure. More...

#include <DefaultPrinter.hpp>

+ Collaboration diagram for tracer::DefaultPrinter::Config:

Public Attributes

std::string prefix = " \x1b[0;33min "
 Perefix (prefix [functionName])
 
std::string seper1 = " \x1b[0;33mat "
 1st seperator
 
std::string seper2 = " \x1b[0;33m-- "
 2nd seperator
 
std::string seper3 = " \x1b[0;33m["
 3rd seperator
 
std::string suffix = "\x1b[0;33m]\x1b[0m"
 suffix
 
std::string colorFrameNum = "\x1b[1;36m"
 ANSI escape sequence for the Frame number color.
 
std::string colorNotFound = "\x1b[1;33m"
 ANSI escape sequence for the "Not Found" color.
 
std::string colorAddress = "\x1b[0;36m"
 ANSI escape sequence for the Address color.
 
std::string colorFuncName = "\x1b[1;31m"
 ANSI escape sequence for the Function Name color.
 
std::string colorLineInfo = "\x1b[1;32m"
 ANSI escape sequence for the Line information color.
 
std::string colorModule = "\x1b[1;35m"
 ANSI escape sequence for the Frame number color.
 
bool shortenFiles = false
 The source file path.
 
bool shortenModules = true
 The executable module (.so/.dll/.exe)
 
bool canonicalizePaths = true
 Fixes path names if they contain "/../" or are relative.
 

Detailed Description

User configuration structure.

Definition at line 47 of file DefaultPrinter.hpp.


The documentation for this struct was generated from the following file: