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