Description Usage Arguments Value Author(s) See Also Examples
Save a debug message in the PhyloSim log file.
The debug message is written to the log file only if the log level is non-negative. You can use this method for logging debug messages in the case you write classes for PhyloSim.
1 2 |
this |
A PhyloSim object. |
message |
A character vector of length one. |
... |
Not used. |
The message (invisible).
Botond Sipos, Gregory Jordan
For more information see PhyloSim
.
1 2 3 4 5 6 7 8 9 10 11 12 | # create a PhyloSim object,
# with logLevel set to zero
sim<-PhyloSim(log.level=0);
# log a debug message
Debug(sim,"Some useful detail...");
# close log connection
close(sim$.log.connection)
# print out the log file
cat(paste(scan(file=sim$LogFile,what=character(),sep="\n"),collapse="\n"));cat("\n");
# clean up
unlink(sim$logFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.