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 LogSink; }
12// clang-format on
13
14namespace rtc {
15
16class LogMessage {
17public:
18 // member variables
19 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 LogMessage& operator=(LogMessage const&);
28 LogMessage(LogMessage const&);
29 LogMessage();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCNAPI LogMessage(char const* file, int line, ::rtc::LoggingSeverity sev, ::rtc::LogErrorContext err_ctx, int err);
35
36 MCNAPI ~LogMessage();
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCNAPI static void AddLogToStream(::rtc::LogSink* stream, ::rtc::LoggingSeverity min_sev);
43
44 MCNAPI static int GetMinLogSeverity();
45
46 MCNAPI static bool IsNoop(::rtc::LoggingSeverity severity);
47
48 MCNAPI static void RemoveLogToStream(::rtc::LogSink* stream);
49 // NOLINTEND
50
51public:
52 // static variables
53 // NOLINTBEGIN
54 MCNAPI static bool& log_thread_();
55
56 MCNAPI static bool& log_timestamp_();
57
58 MCNAPI static bool& log_to_stderr_();
59
60 MCNAPI static ::rtc::LogSink*& streams_();
61
62 MCNAPI static ::std::atomic<bool>& streams_empty_();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(char const* file, int line, ::rtc::LoggingSeverity sev, ::rtc::LogErrorContext err_ctx, int err);
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCNAPI void $dtor();
75 // NOLINTEND
76};
77
78} // namespace rtc
MCAPI ~LogMessage()
MCAPI void $dtor()
static MCAPI void RemoveLogToStream(::rtc::LogSink *stream)
static MCAPI int GetMinLogSeverity()
static MCAPI bool & log_to_stderr_()
static MCAPI bool IsNoop(::rtc::LoggingSeverity severity)
static MCAPI void AddLogToStream(::rtc::LogSink *stream, ::rtc::LoggingSeverity min_sev)
static MCAPI bool & log_timestamp_()
MCAPI void * $ctor(char const *file, int line, ::rtc::LoggingSeverity sev, ::rtc::LogErrorContext err_ctx, int err)
MCAPI LogMessage(char const *file, int line, ::rtc::LoggingSeverity sev, ::rtc::LogErrorContext err_ctx, int err)
static MCAPI ::rtc::LogSink *& streams_()
static MCAPI ::std::atomic< bool > & streams_empty_()
static MCAPI bool & log_thread_()
Definition LogSink.h:15
Definition Alias.h:14