# 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#
```csharp
using System;

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

### Java
```java
System.err.println("Hello World!");
```

### NodeJS
```javascript
console.error('Hello World');
```

### PHP
```php
fwrite(STDERR, 'Hello World' . PHP_EOL);
```

### Python
```python
import sys

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

### Ruby
```ruby
require "logger"

log = Logger.new(STDERR)

log.debug('Hello World!')
```

Last updated 7 months ago.
