toolWriteMadratLog: toolWriteMadratLog

View source: R/toolWriteMadratLog.R

toolWriteMadratLogR Documentation

toolWriteMadratLog

Description

Tool function for writing madrat messages to a log file. Useful after running madrat calculations which are performing checks via toolExpectTrue or other toolExpect functions.

Usage

toolWriteMadratLog(
  checkResults = getMadratMessage("status"),
  logPath = "status.log"
)

Arguments

checkResults

list of check results as returned by getMadratMessage

logPath

path to the log file to be written

Author(s)

Pascal Sauer


pik-piam/mstools documentation built on Dec. 8, 2024, 5:29 a.m.