diff --git a/lib/src/code_generation/logger/stacked_logger_annotations.dart b/lib/src/code_generation/logger/stacked_logger_annotations.dart index e87d247..ce8313c 100644 --- a/lib/src/code_generation/logger/stacked_logger_annotations.dart +++ b/lib/src/code_generation/logger/stacked_logger_annotations.dart @@ -11,9 +11,16 @@ class StackedLogger { /// Default is true final bool disableReleaseConsoleOutput; + /// When set to true, console logs will not be printed while running unit + /// tests or integration tests + /// + /// Default is false + final bool disableTestsConsoleOutput; + const StackedLogger({ this.loggerOutputs = const [], this.logHelperName = 'getLogger', this.disableReleaseConsoleOutput = true, + this.disableTestsConsoleOutput = false, }); }