GithubHelp home page GithubHelp logo

Remove Log class about merlin HOT 12 CLOSED

novoda avatar novoda commented on July 17, 2024
Remove Log class

from merlin.

Comments (12)

ouchadam avatar ouchadam commented on July 17, 2024

do we want to add another dependency to this library? Would we be better off renaming Log to MerlinLog?

from merlin.

blundell avatar blundell commented on July 17, 2024

Gradle is clever enough that adding an internal dependency to NoTils is fine.

from merlin.

ouchadam avatar ouchadam commented on July 17, 2024

I don't want to pull in all those Notils methods though 😖

from merlin.

blundell avatar blundell commented on July 17, 2024

Why not, what is the downside?

from merlin.

xrigau avatar xrigau commented on July 17, 2024

forcing libraries in libraries is not cool, it just adds more than what it's supposed. i.e. If I want to use Merlin it is because it does 1 thing and it works well, but I'm forced to use NoTils just because Merlin wants to log using the SimpleLog. What if I'm not gonna use anything in NoTils? I'd just have it there for a simple log, doesn't make much sense

from merlin.

blundell avatar blundell commented on July 17, 2024

The idea is nobody knows you are using NoTils. I don't think your argument is valid, your saying no library can never use any help (another library) from anywhere.

We're already using keviswiki's HTTP client, what if we wanted to use Guava, or the Support Librarys or ViewPagerIndicator or Gson. Are you saying you'd want to roll your own json parser in every library? :-)

from merlin.

ouchadam avatar ouchadam commented on July 17, 2024

Except you'll end up having to exclude notils if you start to run out of methods!
In this case we would only use the SimpleLog. I'm also planning to remove the HttpRequest library

from merlin.

blundell avatar blundell commented on July 17, 2024

I can see what you're thinking its kind of a pre-optimisation tho. I
wouldn't do that extra work myself
On 12 Jul 2014 17:55, "Adam Brown" [email protected] wrote:

Except you'll end up having to exclude notils if you start to run out of
methods!
In this case we would only use the SimpleLog. I'm also planning to remove
the HttpRequest library


Reply to this email directly or view it on GitHub
#19 (comment).

from merlin.

blundell avatar blundell commented on July 17, 2024

@xrigau @ouchadam I am happy to go with your decision, if you choose now - Are we going to include NoTils for logging (& possibly further useage i.e. when we discussed this simple connection test) or will we rename Log to MerinLog ?

from merlin.

ouchadam avatar ouchadam commented on July 17, 2024

another solution would be to simply use Android.Log without the wrapper class

from merlin.

ouchadam avatar ouchadam commented on July 17, 2024

renaming the MerlinLog is the simplest fix

from merlin.

xrigau avatar xrigau commented on July 17, 2024

👍 for renaming

from merlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.