---
title: "Comment by Damola Adekoya on \"A Colorful Logger for the Browser\" | Hashnode"
description: "Wow... Nice library I have a bit of a little different opinion. It might look a little bit contrary to what the library does. I believe the library is just usef"
url: "https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005/comment/5d8b719b0e7ec5bd352f3bcd"
---

[Discussion](https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005)

Comment [A Colorful Logger for the Browser](https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005)

[Damola Adekoya](https://hashnode.com/@iamdammak)

[Sep 25, 2019](https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005/comment/5d8b719b0e7ec5bd352f3bcd)

Wow... Nice library I have a bit of a little different opinion. It might look a little bit contrary to what the library does. I believe the library is just useful in development mode, not in production. Why not make the library check for console class in the Application and then format the console message in the browser. In my use case now I will want to dynamically use it in development mode maybe in my javascript framework like react/angular/vue.. so in my production, the libraries won't go with my bundles.

if want I explain is not clear, pls comment and let me know.

[Sidhant Panda](https://hashnode.com/@sidhantpanda)

[Sep 25, 2019](https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005/comment/5d8b719b0e7ec5bd352f3bcd#reply-5d8bbe7496ab87572b2b4972)

I didn’t want the library to override the browser APIs.

However it’s a good idea, maybe I can introduce a method that enables the overriding. Something like:

```
logger.readConsole();

console.error('message'); // would be same as logger.error('console', 'message');
```

[Damola Adekoya](https://hashnode.com/@iamdammak)

[Sep 25, 2019](https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005/comment/5d8b719b0e7ec5bd352f3bcd#reply-5d8bc3c596ab87572b2b4989)

Yeah.... I think it cool if you can add such method..

[Sidhant Panda](https://hashnode.com/@sidhantpanda)

[Sep 26, 2019](https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005/comment/5d8b719b0e7ec5bd352f3bcd#reply-5d8d0698d70a9b2a3a761f86)

Added this method in new release `v1.2.0` :)

Check documentation at [github.com/sidhantpanda/logt](https://github.com/sidhantpanda/logt#readconsole)

[Damola Adekoya](https://hashnode.com/@iamdammak)

[Sep 27, 2019](https://hashnode.com/posts/a-colorful-logger-for-the-browser/5d8a35aa480c27195b861005/comment/5d8b719b0e7ec5bd352f3bcd#reply-5d8daa09ff30f40376587ba8)

Cool... Let me check it out
