Android-cuttlefish cvd tool
Functions
cuttlefish::anonymous_namespace{tee_logging.cpp} Namespace Reference

Functions

std::string ToUpper (std::string_view input)
 
std::vector< SeverityTargetSeverityTargetsForFiles (const std::vector< std::string > &files)
 
LogSeverity FromLogEntry (const absl::LogEntry &log_entry)
 
std::pair< int, int > CountSizeAndNewLines (const char *message)
 
template<typename F , typename... Args>
void SplitByLines (const char *msg, const F &log_function, Args &&... args)
 
std::string StderrOutputGenerator (const struct tm &now, int pid, uint64_t tid, LogSeverity severity, const char *tag, const char *file, unsigned int line, const char *message)
 

Function Documentation

◆ CountSizeAndNewLines()

std::pair< int, int > cuttlefish::anonymous_namespace{tee_logging.cpp}::CountSizeAndNewLines ( const char *  message)

◆ FromLogEntry()

LogSeverity cuttlefish::anonymous_namespace{tee_logging.cpp}::FromLogEntry ( const absl::LogEntry &  log_entry)

◆ SeverityTargetsForFiles()

std::vector< SeverityTarget > cuttlefish::anonymous_namespace{tee_logging.cpp}::SeverityTargetsForFiles ( const std::vector< std::string > &  files)

◆ SplitByLines()

template<typename F , typename... Args>
void cuttlefish::anonymous_namespace{tee_logging.cpp}::SplitByLines ( const char *  msg,
const F &  log_function,
Args &&...  args 
)

◆ StderrOutputGenerator()

std::string cuttlefish::anonymous_namespace{tee_logging.cpp}::StderrOutputGenerator ( const struct tm &  now,
int  pid,
uint64_t  tid,
LogSeverity  severity,
const char *  tag,
const char *  file,
unsigned int  line,
const char *  message 
)

◆ ToUpper()

std::string cuttlefish::anonymous_namespace{tee_logging.cpp}::ToUpper ( std::string_view  input)