csbuild.log module

Logging Module

csbuild.log.LOG_BUILD(msg)

Log info related to building

Parameters:msg (str) – Text to log
csbuild.log.LOG_ERROR(msg)

Log an error message

Parameters:msg (str) – Text to log
csbuild.log.LOG_INFO(msg)

Log general info. This info only appears with -v specified.

Parameters:msg (str) – Text to log
csbuild.log.LOG_INSTALL(msg)

Log info related to the installer

Parameters:msg (str) – Text to log
csbuild.log.LOG_LINKER(msg)

Log info related to linking

Parameters:msg (str) – Text to log
csbuild.log.LOG_MSG(color, level, msg, quietThreshold)

Print a message to stdout

csbuild.log.LOG_THREAD(msg)

Log info related to threads, particularly stalls caused by waiting on another thread to finish

Parameters:msg (str) – Text to log
csbuild.log.LOG_WARN(msg)

Log a warning

Parameters:msg (str) – Text to log
csbuild.log.LOG_WARN_NOPUSH(msg)

Log a warning, don’t push it to the list of warnings to be echoed at the end of compilation.

Parameters:msg (str) – Text to log
class csbuild.log.stdoutWriter(oldstdout)

Bases: object

flush()
write(text)

This Page