Skip to content
LeviMC
English
AutoLightDark
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/webrtc/LogErrorContext.h"
7#include "mc/external/webrtc/LoggingSeverity.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class LogSink; }
12// clang-format on
13
14namespace webrtc {
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
35 LogMessage(char const* file, int line, ::webrtc::LoggingSeverity sev, ::webrtc::LogErrorContext err_ctx, int err);
36
37 MCNAPI ~LogMessage();
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCNAPI static void AddLogToStream(::webrtc::LogSink* stream, ::webrtc::LoggingSeverity min_sev);
44
45 MCNAPI static int GetMinLogSeverity();
46
47 MCNAPI static bool IsNoop(::webrtc::LoggingSeverity severity);
48
49 MCNAPI static void RemoveLogToStream(::webrtc::LogSink* stream);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCNAPI static bool& log_thread_();
56
57 MCNAPI static bool& log_timestamp_();
58
59 MCNAPI static bool& log_to_stderr_();
60
61 MCNAPI static ::webrtc::LogSink*& streams_();
62
63 MCNAPI static ::std::atomic<bool>& streams_empty_();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void*
70 $ctor(char const* file, int line, ::webrtc::LoggingSeverity sev, ::webrtc::LogErrorContext err_ctx, int err);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78};
79
80} // namespace webrtc
static MCAPI bool & log_timestamp_()
static MCAPI bool & log_thread_()
static MCAPI void AddLogToStream(::webrtc::LogSink *stream, ::webrtc::LoggingSeverity min_sev)
static MCAPI bool IsNoop(::webrtc::LoggingSeverity severity)
MCAPI LogMessage(char const *file, int line, ::webrtc::LoggingSeverity sev, ::webrtc::LogErrorContext err_ctx, int err)
static MCAPI bool & log_to_stderr_()
static MCAPI void RemoveLogToStream(::webrtc::LogSink *stream)
static MCAPI ::std::atomic< bool > & streams_empty_()
static MCAPI ::webrtc::LogSink *& streams_()
static MCAPI int GetMinLogSeverity()
MCAPI void $dtor()
MCAPI void * $ctor(char const *file, int line, ::webrtc::LoggingSeverity sev, ::webrtc::LogErrorContext err_ctx, int err)
Definition LogSink.h:15
Definition Alias.h:14