Skip to content

Commit 8ddf7ee

Browse files
matanlureynatebosch
authored andcommitted
Remove log.finest from source_gen. (#301)
1 parent 07218c6 commit 8ddf7ee

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 0.7.4+1
2+
3+
* Removed a `log.finest` with the output source of each generator. This allows
4+
a verbose option (`-v`) for tools like bazel or build_runner to be much more
5+
readable and debuggable. Files are emitted to disk for inspection in any
6+
case.
7+
18
## 0.7.4
29

310
* Added `typeNameOf`, which is a safe way to get the name of a `DartType`,

lib/src/builder.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ Stream<GeneratedOutput> _generate(LibraryElement library,
224224
var createdUnit = await gen.generate(libraryReader, buildStep);
225225

226226
if (createdUnit != null && createdUnit.isNotEmpty) {
227-
log.finest(() => 'Generated $createdUnit for ${buildStep.inputId}');
228227
yield new GeneratedOutput(gen, createdUnit);
229228
}
230229
} catch (e, stack) {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: source_gen
2-
version: 0.7.4
2+
version: 0.7.4+1
33
author: Dart Team <[email protected]>
44
description: Automated source code generation for Dart.
55
homepage: https://github.com/dart-lang/source_gen

0 commit comments

Comments
 (0)