3DCoatScripting  4.8.31β
You can manage 3DСoat features with help of scripting
coat::scripto::DebugLog Class Reference

Access to debugging like text-output. More...

Public Member Functions

template<class T >
DebugLogoperator+= (const T &)
 Print the values and objects to the file log.txt. More...
 
DebugLogclear ()
 Clear the file log.txt. More...
 

Detailed Description

Access to debugging like text-output.

debug-log.png

Use this two lines for access to DebugLog:

Debug dbg;
DebugLog log = dbg.log();
Since
4.5.32

Member Function Documentation

template<class T >
DebugLog & coat::scripto::DebugLog::operator+= ( const T &  v)

Print the values and objects to the file log.txt.

log += 4.5;
log += Vec3( 4, 55, 666 );
DebugLog & coat::scripto::DebugLog::clear ( )

Clear the file log.txt.

log.clear();