Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Remove all debug messages from package #6

Open
plutov opened this issue Jul 20, 2016 · 0 comments
Open

Remove all debug messages from package #6

plutov opened this issue Jul 20, 2016 · 0 comments

Comments

@plutov
Copy link
Contributor

plutov commented Jul 20, 2016

It's not good practice to have debug messages in package, because when another package imports hive it has unpredictable results and console.

Solutions:

  • Remove at all, and return only error type
  • Print only if some settings set, for example hive.Debug = true
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant