Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » closeLogFile

closeLogFile

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

Description

Explicitly closes the logging file of a given Logging Block. If the Logging Block is running, it will be stopped. Note: If the Logging Block is started again without changing the name of the logging file, the old file will be overwritten.

Parameters

  • loggingBlockName: Name of the Logging Block. Note: If you use the function in standalone mode and if you activated Logging and Trigger Block in the standalone mode configuration settings you can address the (single) Logging Block available in this case by passing an empty string as parameter.

Return Values

Example

stopLogging