MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / GetLogLevelString

Method GetLogLevelString

cpp/src/platform/unix/LogImpl.cpp:338–350  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Provide a new log file name (applicable to future writes) -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

336// Provide a new log file name (applicable to future writes)
337//-----------------------------------------------------------------------------
338string LogImpl::GetLogLevelString
339(
340 LogLevel _level
341)
342{
343 if ((_level >= LogLevel_None) && (_level <= LogLevel_Internal)) {
344 char buf[20];
345 snprintf( buf, sizeof(buf), "%s, ", LogLevelString[_level] );
346 return buf;
347 }
348 else
349 return "Unknown, ";
350}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected