easy_localization
                                
                                
                                
                                    easy_localization copied to clipboard
                            
                            
                            
                        log level not customizable, LevelMessages is not part of the public api
You need to make the class LevelMessages visible in the public api.
It would also be better if the logging dependency was removed altogether and instead an onEvent callback could be passed where the user could decide how to print those.
If every library does this you'll end up with all the logging implementation possible
In pubspec.yaml just add dependency
dependencies:
  easy_logger:
And then you'll be able to configure log level
import 'package:easy_logger/easy_logger.dart';
...
EasyLocalization.logger.enableLevels = [
  LevelMessages.error,
];
await EasyLocalization.ensureInitialized();
                                    
                                    
                                    
                                
That is not a fix, it's installing the needed dependency which should be done by the library. And to be honest it would be better if the choice of logging lib was let on the user by providing an OnEvent callback which the user could decide how to print. If every library chose its own logging system soon enough you have 20 of thems.
I totally agree with you. This is only a workaround until a better solution is released. I use it to have clean unit tests output.
@Overman775 would a PR that removes the easy logger dependency be welcome ?
Would be good to see some progress here.