To me, this seems like an issue with Logging.jl.  Either it should
extend (and possible overwrite) the methods of the generic functions
`warn` & `info` of Base or else use another name for that function.

Sorry, I can't help with your actual question. See also:
See also https://github.com/kmsquire/Logging.jl/issues/12

On Tue, 2015-05-26 at 01:14, andrew cooke <[email protected]> wrote:
> Both Logging and Base export `info` and `warn`.   I have absolutely no use 
> for the Base methods, so want to use the ones provided by Logging, without 
> prefixing every call with `Logging.`
>
> Reading through the docs, and also 
> https://github.com/JuliaLang/julia/issues/4345, it's not clear how to do 
> this, but experimenting shows that (at least in 0.4), using `importall 
> Logging` overrides Base (despite the issue I just linked to).
>
> Is this correct behaviour?  Can I rely on it in the future?
>
> I'm going to repeat, because I am unsure the above is clear.
>
> In Logging.jl's tests,
>
> ```
> using Logging
> ```
>
> fails, because of the conflict between `info` and `debug` in Logging and 
> Base.
>
> However,
>
> ```
> importall Logging
> ```
>
> works as I want.
>
> Is that OK?
>
> Thanks,
> Andrew

Reply via email to