Package omero :: Package util :: Class StreamRedirect
[hide private]
[frames] | no frames]

Class StreamRedirect

source code


Since all server components should exclusively using the logging module any output to stdout or stderr is caught and logged at "WARN". This is useful, especially in the case of Windows, where stdout/stderr is eaten.

Instance Methods [hide private]
 
__init__(self, logger)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
flush(self) source code
 
write(self, msg) source code
 
__getattr__(self, name) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, logger)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)