Write Log

Write custom log message to output.

Use this activity to write any custom message you want to write to output during the execution.

Input

  • Text : String Argument The log text content.

  • Filepath: Specifies the full path of the file where the log is to be written.

  • Logging Level : Specifies the logging level of the log that is to be written. The logging level contains the following options:-

    • Info

    • Error

    • Warn

    • Debug

  • File Operation : Specifies whether you want to overwrite or append a given input text to an existing file. The existing file operations are:

    • Overwrite - Overwrites the existing content with new content.

    • Append - Appends the new content to the existing one.

Options

  • Include DateTime : Boolean Argument Specifies whether to include DateTime along with the log to be written.

It is possible to write any other Type to write to the log, this activity will try to convert the input argument to text and if the conversion is a success, it will be written to the output.

Last updated