MCPcopy Create free account
hub / github.com/cuberite/cuberite / LogSimple

Method LogSimple

src/MCLogger.cpp:96–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95
96void cMCLogger::LogSimple(const char * a_Text, eLogLevel a_LogLevel)
97{
98 switch (a_LogLevel)
99 {
100 case llRegular:
101 {
102 LOG("%s", a_Text);
103 break;
104 }
105 case llInfo:
106 {
107 LOGINFO("%s", a_Text);
108 break;
109 }
110 case llWarning:
111 {
112 LOGWARN("%s", a_Text);
113 break;
114 }
115 case llError:
116 {
117 LOGERROR("%s", a_Text);
118 break;
119 }
120 }
121}
122
123
124

Callers 4

tolua_LOGFunction · 0.80
tolua_LOGINFOFunction · 0.80
tolua_LOGWARNFunction · 0.80
tolua_LOGERRORFunction · 0.80

Calls 4

LOGFunction · 0.85
LOGINFOFunction · 0.85
LOGWARNFunction · 0.85
LOGERRORFunction · 0.85

Tested by

no test coverage detected