◆ __init__() [1/3]
coat.logger.__init__ |
( |
| self | ) |
|
◆ __init__() [2/3]
coat.logger.__init__ |
( |
| self, |
|
|
str | filename ) |
◆ __init__() [3/3]
coat.logger.__init__ |
( |
| self | ) |
|
◆ directTo()
logger coat.logger.directTo |
( |
| self, |
|
|
str | filename ) |
Direct the log output to the file.
- Parameters
-
filename | the filename to log there. The filename may be relative path. |
- Returns
- the logger reference
◆ endTimer()
logger coat.logger.endTimer |
( |
| self | ) |
|
stop the timer and output the time into the log as amount of microseconds
- Returns
- the reference
◆ floatPrecission()
logger coat.logger.floatPrecission |
( |
| self, |
|
|
int | signs = 2 ) |
set the precission of floating-point output
- Returns
- the reference
◆ flush()
logger coat.logger.flush |
( |
| self | ) |
|
save all acumulated text to the file
- Returns
- the chain reference
◆ getFullPath()
any coat.logger.getFullPath |
( |
| self | ) |
|
Returns the absolute path to the log file.
- Returns
- the absolute path even if you passed the relative path.
◆ newline()
logger coat.logger.newline |
( |
| self | ) |
|
start newline in the text file
- Returns
- the chain reference
◆ open()
open the accumulated log in the default text editor
◆ showMessage()
coat.logger.showMessage |
( |
| self | ) |
|
show the accumulated log in the message box
◆ startTimer()
logger coat.logger.startTimer |
( |
| self | ) |
|
start the timer to profile some operation
- Returns
- the reference
◆ timestamp()
logger coat.logger.timestamp |
( |
| self | ) |
|
add the timestamp to the log as the
- Returns
- the reference
The documentation for this class was generated from the following file: