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 MCAPI void FinishPrintStream();
37
38 MCAPI LogMessage(char const*, int, ::rtc::LoggingSeverity, ::rtc::LogErrorContext, int);
39
40 MCAPI ::rtc::StringBuilder& stream();
41
42 MCAPI ~LogMessage();
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static void AddLogToStream(::rtc::LogSink*, ::rtc::LoggingSeverity);
49
50 MCAPI static int GetMinLogSeverity();
51
52 MCAPI static bool IsNoop(::rtc::LoggingSeverity);
53
54 MCAPI static int64 LogStartTime();
55
56 MCAPI static void OutputToDebug(::rtc::LogLineRef const&);
57
58 MCAPI static void RemoveLogToStream(::rtc::LogSink*);
59
60 MCAPI static void UpdateMinLogSeverity();
61
62 MCAPI static uint WallClockStartTime();
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static bool& log_thread_();
69
70 MCAPI static bool& log_timestamp_();
71
72 MCAPI static bool& log_to_stderr_();
73
74 MCAPI static ::rtc::LogSink*& streams_();
75
76 MCAPI static ::std::atomic<bool>& streams_empty_();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(char const*, int, ::rtc::LoggingSeverity, ::rtc::LogErrorContext, int);
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCAPI void $dtor();
89 // NOLINTEND
90};
91
92} // namespace rtc
Definition LogLineRef.h:7
Definition LogMessage.h:18
Definition LogSink.h:15
Definition Alias.h:14