LeviLamina
Loading...
Searching...
No Matches
LogMessage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/LogErrorContext.h"
7#include "mc/external/rtc/LoggingSeverity.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace rtc { class LogLineRef; }
12namespace rtc { class LogSink; }
13namespace rtc { class StringBuilder; }
14// clang-format on
15
16namespace rtc {
17
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 LogMessage& operator=(LogMessage const&);
30 LogMessage(LogMessage const&);
31 LogMessage();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI void FinishPrintStream();
37
38 MCNAPI LogMessage(char const*, int, ::rtc::LoggingSeverity, ::rtc::LogErrorContext, int);
39
40 MCNAPI ::rtc::StringBuilder& stream();
41
42 MCNAPI ~LogMessage();
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCNAPI static void AddLogToStream(::rtc::LogSink*, ::rtc::LoggingSeverity);
49
50 MCNAPI static int GetMinLogSeverity();
51
52 MCNAPI static bool IsNoop(::rtc::LoggingSeverity);
53
54 MCNAPI static int64 LogStartTime();
55
56 MCNAPI static void OutputToDebug(::rtc::LogLineRef const&);
57
58 MCNAPI static void RemoveLogToStream(::rtc::LogSink*);
59
60 MCNAPI static void UpdateMinLogSeverity();
61
62 MCNAPI static uint WallClockStartTime();
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCNAPI static bool& log_thread_();
69
70 MCNAPI static bool& log_timestamp_();
71
72 MCNAPI static bool& log_to_stderr_();
73
74 MCNAPI static ::rtc::LogSink*& streams_();
75
76 MCNAPI static ::std::atomic<bool>& streams_empty_();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCNAPI void* $ctor(char const*, int, ::rtc::LoggingSeverity, ::rtc::LogErrorContext, int);
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCNAPI void $dtor();
89 // NOLINTEND
90};
91
92} // namespace rtc
Definition LogLineRef.h:7
Definition LogMessage.h:18
static MCAPI bool IsNoop(::rtc::LoggingSeverity)
MCAPI ~LogMessage()
static MCAPI void OutputToDebug(::rtc::LogLineRef const &)
MCAPI void $dtor()
MCAPI LogMessage(char const *, int, ::rtc::LoggingSeverity, ::rtc::LogErrorContext, int)
static MCAPI int GetMinLogSeverity()
MCAPI void FinishPrintStream()
static MCAPI void AddLogToStream(::rtc::LogSink *, ::rtc::LoggingSeverity)
static MCAPI int64 LogStartTime()
static MCAPI bool & log_to_stderr_()
static MCAPI bool & log_timestamp_()
static MCAPI uint WallClockStartTime()
MCAPI::rtc::StringBuilder & stream()
static MCAPI void UpdateMinLogSeverity()
static MCAPI ::rtc::LogSink *& streams_()
MCAPI void * $ctor(char const *, int, ::rtc::LoggingSeverity, ::rtc::LogErrorContext, int)
static MCAPI ::std::atomic< bool > & streams_empty_()
static MCAPI void RemoveLogToStream(::rtc::LogSink *)
static MCAPI bool & log_thread_()
Definition LogSink.h:15
Definition Alias.h:14