Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
trace::FormattingOptions::ThreadIdOptionTraits Struct Reference

Controls thread-id prefixing (from UNI20_TRACE_THREAD_ID or module override). More...

#include <trace_impl.hpp>

Public Types

enum  Enum { yes , no , auto_detect }
 

Static Public Attributes

static constexpr Enum Default = auto_detect
 
static constexpr std::array< const char *, 3 > Names = {"yes", "no", "auto"}
 
static constexpr const char * StaticName = "Thread-id options (yes/no/auto)"
 

Detailed Description

Controls thread-id prefixing (from UNI20_TRACE_THREAD_ID or module override).

Values: yes / no / auto.

Member Enumeration Documentation

◆ Enum

Enumerator
yes 
no 
auto_detect 

Member Data Documentation

◆ Default

constexpr Enum trace::FormattingOptions::ThreadIdOptionTraits::Default = auto_detect
staticconstexpr

◆ Names

constexpr std::array<const char*, 3> trace::FormattingOptions::ThreadIdOptionTraits::Names = {"yes", "no", "auto"}
staticconstexpr

◆ StaticName

constexpr const char* trace::FormattingOptions::ThreadIdOptionTraits::StaticName = "Thread-id options (yes/no/auto)"
staticconstexpr

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