Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::Trace Namespace Reference

Namespace containing types related to traces. More...

Classes

class  Width
 Formatting the stream by length. More...
class  Precision
 Formatting real numbers with a given precision. More...
class  Color
 Sets a color for the message. More...
class  Setter
 Sets a message class. More...

Enumerations

enum  eMessageType {
  Normal = 0 , Info = 1 , Warning = 2 , Error = 3 ,
  Log = 4 , Fatal = 5 , ParallelFatal = 6 , Debug = 7 ,
  Null = 8
}
 Stream on which messages are sent. More...
enum  eDebugLevel {
  None = 0 , Lowest = 1 , Low = 2 , Medium = 3 ,
  High = 4 , Highest = 5
}
 Trace debug level. More...
enum  ePrintFlags { PF_Default = 0 , PF_NoClassName = 1 << 1 , PF_ElapsedTime = 1 << 2 }
 Display parameters. More...

Functions

ARCCORE_TRACE_EXPORT std::ostream & operator<< (std::ostream &o, const Width &w)
ARCCORE_TRACE_EXPORT std::ostream & operator<< (std::ostream &o, const Precision &w)

Detailed Description

Namespace containing types related to traces.

Enumeration Type Documentation

◆ eDebugLevel

Trace debug level.

Enumerator
Lowest 

No debug information.

Lowest level

Low 

Low level.

Medium 

Medium level (default).

High 

High level.

Highest 

Highest level.

Definition at line 48 of file arccore/src/trace/arccore/trace/Trace.h.

◆ eMessageType

Stream on which messages are sent.

Definition at line 34 of file arccore/src/trace/arccore/trace/Trace.h.

◆ ePrintFlags

Display parameters.

Enumerator
PF_NoClassName 

Display or not the message class.

PF_ElapsedTime 

Display of elapsed time.

Definition at line 59 of file arccore/src/trace/arccore/trace/Trace.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream & Arcane::Trace::operator<< ( std::ostream & o,
const Precision & w )

Definition at line 124 of file TraceMessage.cc.

◆ operator<<() [2/2]

std::ostream & Arcane::Trace::operator<< ( std::ostream & o,
const Width & w )

Definition at line 114 of file TraceMessage.cc.