Flutter-Bounty-Hunters / follow_the_leader

MIT License
13 stars 5 forks source link

Move print statements to logs #5

Closed matthew-carroll closed 1 year ago

matthew-carroll commented 2 years ago

The existing package code includes a number of print statements.

Add a logger, similar to the one in super_editor, and convert those print statements to logs.

matthew-carroll commented 1 year ago

FYI @angelosilvestre for this ticket, let's follow the same pattern we've used in a number of projects for defining logger names, loggers, and logging initialization.

One caveat, based on experiences in other projects, is that log initialization and any other static method should be placed in a class, such as FollowTheLeaderLogs, so that we don't end up with a bunch of naming conflicts with other projects.