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

Method GetLogLevelString

cpp/src/platform/windows/LogImpl.cpp:368–380  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

366// Provide a new log file name (applicable to future writes)
367//-----------------------------------------------------------------------------
368string LogImpl::GetLogLevelString
369(
370 LogLevel _level
371)
372{
373 if ((_level >= LogLevel_None) && (_level <= LogLevel_Internal)) {
374 char buf[20];
375 snprintf( buf, sizeof(buf), "%s, ", LogLevelString[_level] );
376 return buf;
377 }
378 else
379 return "Unknown, ";
380}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected