ADTF File Library
Loading...
Searching...
No Matches
adtf_file::SourceLocation Struct Reference

Identifies the source code location where a log message was emitted. More...

#include <log.h>

Public Attributes

std::string_view file
 Path of the translation unit (typically __FILE__).
 
size_t line
 Line number within file (typically __LINE__).
 
std::string_view function
 Name of the enclosing function (typically __func__).
 

Detailed Description

Identifies the source code location where a log message was emitted.

Member Data Documentation

◆ file

std::string_view adtf_file::SourceLocation::file

Path of the translation unit (typically __FILE__).

Todo
check string_view

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