1 /** 2 * @file 3 * @date 17.5.2007 4 * 5 * Interface of class HBOutputRedirect. 6 */ 7 8 #import <Foundation/Foundation.h> 9 #import "HBRedirect.h" 10 11 NS_ASSUME_NONNULL_BEGIN 12 13 /** 14 * This class is used to redirect @c stdout and @c stderr outputs. It is never 15 * created directly; @c stdoutRedirect and @c stderrRedirect class methods 16 * should be use instead. 17 * 18 * @note Redirection is done by replacing @c _write functions for @c stdout and 19 * @c stderr streams. Because of this messages written by NSLog(), for 20 * example are not redirected. I consider this a good thing, but if more 21 * universal redirecting is needed, it can be done at file descriptor 22 * level. 23 */ 24 @interface HBOutputRedirect : HBRedirect 25 26 @end 27 28 NS_ASSUME_NONNULL_END 29