Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::StandaloneTraceMessage Class Reference

Management of a standalone message. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/trace/arccore/trace/StandaloneTraceMessage.h>

Collaboration diagram for Arcane::StandaloneTraceMessage:

Public Member Functions

 StandaloneTraceMessage (Trace::eMessageType, int level=TraceMessage::DEFAULT_LEVEL)
 StandaloneTraceMessage (const TraceMessage &from)
StandaloneTraceMessage & operator= (const StandaloneTraceMessage &from)
std::ostream & file () const
Trace::eMessageType type () const
int level () const
int color () const
std::string value () const

Public Attributes

int m_color = 0
 Message color.

Private Attributes

std::ostringstream m_stream
 Stream to which the message is sent.
Trace::eMessageType m_type = Trace::Normal
 Message type.
int m_level = TraceMessage::DEFAULT_LEVEL
 Message level.

Detailed Description

Management of a standalone message.

Definition at line 33 of file StandaloneTraceMessage.h.

Member Function Documentation

◆ color()

int Arcane::StandaloneTraceMessage::color ( ) const
inline

Definition at line 47 of file StandaloneTraceMessage.h.

◆ file()

std::ostream & Arcane::StandaloneTraceMessage::file ( ) const
inline

Definition at line 44 of file StandaloneTraceMessage.h.

◆ level()

int Arcane::StandaloneTraceMessage::level ( ) const
inline

Definition at line 46 of file StandaloneTraceMessage.h.

◆ type()

Trace::eMessageType Arcane::StandaloneTraceMessage::type ( ) const
inline

Definition at line 45 of file StandaloneTraceMessage.h.

◆ value()

std::string Arcane::StandaloneTraceMessage::value ( ) const
inline

Definition at line 51 of file StandaloneTraceMessage.h.

Member Data Documentation

◆ m_color

int Arcane::StandaloneTraceMessage::m_color = 0
mutable

Message color.

Definition at line 65 of file StandaloneTraceMessage.h.

◆ m_level

int Arcane::StandaloneTraceMessage::m_level = TraceMessage::DEFAULT_LEVEL
private

Message level.

Definition at line 60 of file StandaloneTraceMessage.h.

◆ m_stream

std::ostringstream Arcane::StandaloneTraceMessage::m_stream
mutableprivate

Stream to which the message is sent.

Definition at line 56 of file StandaloneTraceMessage.h.

◆ m_type

Trace::eMessageType Arcane::StandaloneTraceMessage::m_type = Trace::Normal
private

Message type.

Definition at line 58 of file StandaloneTraceMessage.h.


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