# SystemOutput()

writes the given string to the output stream (aka console)

```
SystemOutput( obj=Object, addNewLine=boolean, doErrorStream=boolean );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| obj | Object | Yes | Any kind of object. Lucee will serialize all complex objects passed in to a string. If you pass a string you can include `<print-stack-trace>`, which Lucee will replace with a stacktrace of the current position. |  |
| addNewLine | boolean | No | Whether or not to add a newline |  |
| doErrorStream | boolean | No | Which stream the output should go to: choose between 'Output stream' and 'Error stream.' If true, the output will go to the error stream. |  |

# Examples

*There are currently no examples for this function.*







# Categories

[Debugging](../../categories/debugging.md)

# See Also

[Console logging using SystemOutput](../../recipes/console-logging.md), [Echo()](echo.md), [WriteOutput()](writeoutput.md), [SystemOutput, writing to the console](../../recipes/function-systemoutput.md)