ensembl-hive  2.5
Bio::EnsEMBL::Hive::Utils::RedirectStack Class Reference

Public Member Functions

public new ()
 
public push ()
 
public pop ()
 

Detailed Description

Description

    Sometimes there is a need to intercept STDOUT/STDERR and log it in multiple files,
    depending on which of the nested objects is "in control" at the moment.

    In Hive when a Worker is running a job it logs into a job's file, but between jobs it logs into its own file.
    This class implements a convenient stack of proxy file descriptors that lets you log STDOUT or STDERR in various files.

Definition at line 14 of file RedirectStack.pm.

Member Function Documentation

◆ new()

public Bio::EnsEMBL::Hive::Utils::RedirectStack::new ( )

Undocumented method

Code:
click to view

◆ pop()

public Bio::EnsEMBL::Hive::Utils::RedirectStack::pop ( )

Undocumented method

Code:
click to view

◆ push()

public Bio::EnsEMBL::Hive::Utils::RedirectStack::push ( )

Undocumented method

Code:
click to view

The documentation for this class was generated from the following file: