I want to configure our logging library differently than my coworkers, and I don't want to risk checking in my local configuration, i.e:
void main() {
LOG.minLevel = Logger.VERBOSE;
LOG.showSymbols = false;
runApp( RestartWidget(child: ResponsApp()) );
}
I can of course manually exclude these lines every time I make a commit, but I will forget to do it sooner or later.
What would be the best way to safeguard against this code accidentally being checked in and run on my colleagues machines? Is there any way to silently check environment variables in Flutter/Dart (something like kDebugMode/ kReleaseMode but that I can customize on my local machine only)?
I'm using IntelliJ btw.