Logging (StdErr) | Pandium Docs

Using stderr for Logging

All logs that you wish to display to your users should be written to stderr.

These logs can be viewed via the In-App Marketplace by users, or from within the Integration Hub on various pages, including the integration level, tenant level, and main run resource.

Examples in Various Languages

C#

using System;

Console.Error.WriteLine("Hello World");

Java

System.err.println("Hello World!");

NodeJS

console.error('Hello World');

PHP

fwrite(STDERR, 'Hello World' . PHP_EOL);

Python

import sys

print("Hello World!", file=sys.stderr)

Ruby

require "logger"

log = Logger.new(STDERR)

log.debug('Hello World!')

Last updated 7 months ago.