Description Usage Arguments Value Author(s) See Also Examples
Set the log level for a given PhyloSim object.
No logging is performed if the log level is negative. If the log level is zero, the messages passed to
the Log
method will be writen in the log file. If the log level is positive, the messages passed to
the Debug
method are saved as well.
The default log level is -1. The specified file will be truncated in the case it already exists.
1 2 | ## S3 method for class 'PhyloSim'
setLogLevel(this, value, ...)
|
this |
A PhyloSim object. |
value |
The new log level as an integer. |
... |
Not used. |
The new level as an integer vector of length one.
Botond Sipos, Gregory Jordan
getLogLevel PhyloSim
1 2 3 4 5 6 7 8 9 | # Create a PhyloSim object
sim<-PhyloSim();
# get/set log level
getLogLevel(sim)
setLogLevel(sim,0)
# set/get log level via virtual field
sim$logLevel<- -1
sim$logLevel
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.