phrGetLogFileName: Retrieve the name of the log file.

View source: R/phreeqc.R

phrGetLogFileNameR Documentation

Retrieve the name of the log file.

Description

Retrieves the name of the log file. The default name is phreeqc.0.log.

Usage

phrGetLogFileName()

Value

The name of the log file as a string.

References

https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf

See Also

Other Log: phrGetLogFileOn(), phrGetLogStrings(), phrGetLogStringsOn(), phrSetLogFileName(), phrSetLogFileOn(), phrSetLogStringsOn()

Examples


# This example checks to see if the log file is turned on
# and prints the appropriate message
if (phrGetLogFileOn()) {
  cat("The name of the log file (is/will be):", phrGetLogFileName(), "\n")
} else {
  cat("The log file is not turned on\n")
}


phreeqc documentation built on Sept. 11, 2024, 8:33 p.m.