[erlang-questions] Redirecting stdout in erlang

Roberto Majadas Lopez <>
Fri Dec 14 17:36:58 CET 2012


No i don't need a logger system. I need a way to redirect all standard
output strings written with io:format, including from other source code.



2012/12/14 Yu-ri Cho <>

> Maybe lager is what you want
> https://github.com/basho/lager
>
> On Fri, Dec 14, 2012 at 10:57 AM, Roberto Majadas Lopez <
> > wrote:
>
>>
>> Hello,
>>
>> I want to redirect all io:format outputs to one gen_server or similar.
>> How can i do it in erlang?
>>
>> Roberto
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
>
> --
> Yu-ri Gordon
> trueEX Group LLC
> 646-786-8520
>
>
> *CONFIDENTIALITY NOTICE*
>
> THE INFORMATION CONTAINED IN THIS COMMUNICATION IS INTENDED FOR THE NAMED
> RECEIVER ONLY. THE TRANSMISSION MAY CONTAIN PRIVILEGED AND CONFIDENTIAL
> MATERIAL. IF YOU ARE NOT THE NAMED RECIPIENT, PLEASE BE ADVISED THAT ANY
> USE, DISSEMINATION OR UNAUTHORIZED COPYING OF THE MATERIAL IS STRICTLY
> PROHIBITED. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY
>  AND DESTROY THE RECEIVED COPY. THANK YOU.
>



-- 
Roberto Majadas
OpenShine S.L

email : 
tlf : +34 663 273 501

www.openshine.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121214/916ac3d6/attachment.html>


More information about the erlang-questions mailing list