yes, José -- my motivation was to get the pipeline-ability of IO.inspect, 
then I became obsessed with doing it in a way that would fit into the 
existing Logger module. In my projects so far, I've had a module just to 
hold a function that works just like inspector_gadget's (thanks, Vic!).

I understand if it's not something you'd want to add -- I'll move my 
question (about whether there's a better approach to the macro) to the 
forums. (Also, sorry about the horrendous formatting of my question; I 
pasted it from another editor, and Groups added a ton of whitespace.)

Thanks!

...Bryan

On Monday, January 23, 2017 at 5:42:22 AM UTC-8, Victor Hugo Borja wrote:
>
> Perhaps this tiny project could be useful to you 
> https://github.com/expede/inspector_gadget 
>
> ~vic
>
> On Mon, Jan 23, 2017 at 7:36 AM, Allen Madsen <[email protected] 
> <javascript:>> wrote:
>
>> I'd guess the primary motivation would be to allow usage in a pipeline.
>>
>> Allen Madsen
>>
>> On Mon, Jan 23, 2017 at 3:29 AM, José Valim <
>> [email protected] <javascript:>> wrote:
>>
>>> Given the same can be achieved with Logger.debug(inspect(foo)), why 
>>> introduce a new macro?
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "elixir-lang-core" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4K5XiC9m0K%3DENQ2Qq3mjPEfNgaut37eBMOWxd68duPuyQ%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4K5XiC9m0K%3DENQ2Qq3mjPEfNgaut37eBMOWxd68duPuyQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elixir-lang-core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elixir-lang-core/CAK-y3CsoF6U5aKL%2BVDPupWzx%2BjO1pOdA5eAr8bR%3Dn7ByzpHuUQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/elixir-lang-core/CAK-y3CsoF6U5aKL%2BVDPupWzx%2BjO1pOdA5eAr8bR%3Dn7ByzpHuUQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> vic
>
> Quaerendo invenietis.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/fcadfb3a-37f9-42b6-bfde-ba63d24682e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to