getLogLevel.PhyloSim: Get the log level from a PhyloSim object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the log level from a PhyloSim object.

Usage

1
2
## S3 method for class 'PhyloSim'
getLogLevel(this, ...)

Arguments

this

A PhyloSim object.

...

Not used.

Value

The log level as an integer vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

setLogLevel PhyloSim

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
	# 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
	# clean up
	unlink(sim$logFile)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.