CustomizedPerProcess
Advanced version of the RedirectableErrors interface enabling per-process customizations.
- Type Params
- P
Self type without RedirectableErrors
Value members
Abstract methods
Concrete methods
Redirects the error outputs to one file per process in append mode
Redirects the error outputs to one file per process in append mode
The process error output type will be Unit.
- Value Params
- pathFn
A function to get a file path for each process in the group
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and drains it regardless of its output type.
Redirects the error outputs to a pipe and drains it regardless of its output type.
The process error output type will be Unit.
- Type Params
- O
Output type of the pipe
- Value Params
- pipeFn
A function to get a pipe for each process in the group
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to one file per process
Redirects the error outputs to one file per process
The process error output type will be Unit.
- Value Params
- pathFn
A function to get a file path for each process in the group
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and folds its output with a monoid instance.
Redirects the error outputs to a pipe and folds its output with a monoid instance.
The process error output type will be the same as the pipe's output type.
- Type Params
- O
Output type of the pipe. Must have a monoid instance.
- Value Params
- pipeFn
A function to get a pipe for each process in the group
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a sink.
Redirects the error outputs to a sink.
The process error output type will be Unit.
- Value Params
- sinkFn
Function to get a sink for each process in the group
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and collects its output to a vector
Redirects the error outputs to a pipe and collects its output to a vector
The process error output type will be a vector of the pipe's output type.
- Type Params
- O
Output type of the pipe
- Value Params
- pipeFn
A function to get a pipe for each process in the group
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.
Redirects the error outputs to a pipe and folds it with a custom function.
Redirects the error outputs to a pipe and folds it with a custom function.
The process error output type will be R.
- Type Params
- O
Output type of the pipe
- R
Result type of the fold
- Value Params
- fn
The fold function
- init
The initial value for the fold
- pipeFn
A function to get a pipe for each process in the group
- Returns
Returns a new process group with all the error streams redirected and the error redirection capability removed.