Description Usage Arguments Methods (by class)
The method writes and displaye logging message to the log files.
1 2 3 4 5 |
object |
Commons class object. |
type |
a character string. The logging type of either 'setup' for project_setup.log or 'process' for data_process.log. |
level |
a character string. The logging level of either 'error', 'warn', 'info', or 'debug'. The default value is 'info'. |
message |
a character string. The logging message. |
show |
a logical value. If TRUE, console display the log messaage; If FALSE (default), not display. |
... |
There are optional arguments. |
maxSizeInMb |
a integer. (optional) The maximum size (MB) of a log file. The log file is moved to archieved_log directory after reaching the maximum size (default 1MB). |
keptDay |
an integer. (optional) The maximum days of an archieved log file is kept. The archived log file is deleted after the duration Day is past (default 90 days). |
object = Commons,type = character
: of classs Commons
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.