... | ... | @@ -410,7 +410,8 @@ Once you have a reference to the *starter* you can decide to stop it or use it t |
|
|
|
|
|
# Standard error and output
|
|
|
|
|
|
The standard error and output can also be printed by the console application or retrieved by the API. For that the attribute *stream* of the application tag must have be set to *yes*. An example with the C++ API:
|
|
|
The standard error and output can be printed by the console application or retrieved by the API. For that the attribute *stream* of the application tag must have be set to *yes* in the configuration of the application. See the page [Configure a server](Configure-a-server).
|
|
|
An example with the C++ API:
|
|
|
```cpp
|
|
|
// Start the app with the OUTPUTSTREAM option.
|
|
|
std::unique_ptr<cameo::application::Instance> app = server.start("App2", cameo::OUTPUTSTREAM);
|
... | ... | |