Learn R Programming

analysisPipelines (version 1.0.2)

setLoggerDetails: Sets the logger configuration for the pipeline

Description

Sets the logger configuration for the pipeline

Usage

setLoggerDetails(object, target = "console",
  targetFile = "pipelineExecution.out", layout = "layout.simple")

# S4 method for BaseAnalysisPipeline setLoggerDetails(object, target = "console", targetFile = "pipelineExecution.out", layout = "layout.simple")

Arguments

object

A Pipeline object

target

A string value. 'console' for appending to console, 'file' for appending to a file, or 'console&file' for both

targetFile

File name of the log file in case the target is 'file'

layout

Specify the layout according to 'futile.logger' package convention

Details

This function sets the logger configuration for the pipeline.

See Also

Other Package core functions: BaseAnalysisPipeline-class, MetaAnalysisPipeline-class, assessEngineSetUp, checkSchemaMatch, createPipelineInstance, exportAsMetaPipeline, generateOutput, genericPipelineException, getInput, getLoggerDetails, getOutputById, getPipelinePrototype, getPipeline, getRegistry, initDfBasedOnType, initialize,BaseAnalysisPipeline-method, loadMetaPipeline, loadPipeline, loadPredefinedFunctionRegistry, loadRegistry, prepExecution, registerFunction, savePipeline, saveRegistry, setInput, updateObject, visualizePipeline

Examples

Run this code
# NOT RUN {
library(analysisPipelines)
pipelineObj <- AnalysisPipeline(input = iris)
pipelineObj %>>% setLoggerDetails(target = "file",
 targetFile = "pipeline.out") -> pipelineObj
# }

Run the code above in your browser using DataLab