[erlang-questions] io format BUG?

Maxim Treskin <>
Wed Dec 24 09:25:30 CET 2008


>
> And the part of my code that calls the io:format to write in a log file.
>
>     handle_cast({tryf,Msg}, State) ->
>         io:format(State#state.tryf,"~p ~p:~p~n",[date(),time(),Msg]),
>         {noreply, State};
>
>
It is possible that State#state.tryf not an io_device()

-- 
Maxim Treskin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081224/f5a52d90/attachment.html>


More information about the erlang-questions mailing list