Feature: Adding LogLevel to Lumberdash#80
Open
maximilianbrandl wants to merge 3 commits intobmw-tech:masterfrom
Open
Feature: Adding LogLevel to Lumberdash#80maximilianbrandl wants to merge 3 commits intobmw-tech:masterfrom
maximilianbrandl wants to merge 3 commits intobmw-tech:masterfrom
Conversation
lumberdash/lib/src/lumberdash.dart
Outdated
| /// requirements. | ||
| putLumberdashToWork({required List<LumberdashClient> withClients}) { | ||
| _lumberdashClients = withClients; | ||
| withClients.forEach((client) {_lumberdashClients.forEach((_, logLevelClients) {logLevelClients.add(client);});}); |
Member
There was a problem hiding this comment.
Can you multi line format this for each?
lumberdash/lib/src/lumberdash.dart
Outdated
| /// [LumberdashClient] to a List of LogLevels. Only these LogLevels | ||
| /// are used for logging to the LumberdashClient. | ||
| putLumberdashToWorkByLogLevel({required Map<LumberdashClient, List<LogLevel>> withClients}) { | ||
| withClients.forEach((keyLC, logLevelClients) {logLevelClients.forEach((element) {_lumberdashClients[element]?.add(keyLC);});}); |
lumberdash/lib/src/lumberdash.dart
Outdated
| List<Type> exceptFor = const [], | ||
| }) { | ||
| _filterOutClientsAndLog(exceptFor, (c) => c.logMessage(message, extras)); | ||
| _filterOutClientsAndLog(exceptFor, (c) => c.logMessage(message, extras), LogLevel.message); |
Member
There was a problem hiding this comment.
format
_filterOutClientsAndLog(exceptFor, (c) => c.logMessage(message, extras), LogLevel.message,);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.