MCPcopy Create free account
hub / github.com/cinder/Cinder / write

Method write

src/cinder/Log.cpp:164–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void LogManager::write( const Metadata &meta, const std::string &text )
165{
166 // TODO move this to a shared_lock_timed with c++14 support
167 lock_guard<mutex> lock( mMutex );
168
169 for( auto& logger : mLoggers ) {
170 logger->write( meta, text );
171 }
172}
173
174// ----------------------------------------------------------------------------------------------------
175// Entry

Callers 1

writeToLogMethod · 0.45

Calls 8

getCurrentYearDayFunction · 0.85
getDailyLogStringFunction · 0.85
getFunction · 0.50
writeFunction · 0.50
is_openMethod · 0.45
openMethod · 0.45
stringMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected