From 6b97e334e89d5f9d03c6abdd6ef927c3ca0b5030 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 23 Mar 2020 11:22:23 -0700 Subject: Change annotation logging (#1461) * Change from log-level debug to trace * Serialize as JSON rather than .serialize on each annotation Co-Authored-By: Chick Markley --- src/main/scala/firrtl/annotations/Annotation.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/scala/firrtl/annotations') diff --git a/src/main/scala/firrtl/annotations/Annotation.scala b/src/main/scala/firrtl/annotations/Annotation.scala index adde816a..3cf6d5ef 100644 --- a/src/main/scala/firrtl/annotations/Annotation.scala +++ b/src/main/scala/firrtl/annotations/Annotation.scala @@ -14,9 +14,9 @@ trait Annotation extends Product { /** Update the target based on how signals are renamed */ def update(renames: RenameMap): Seq[Annotation] - /** Pretty Print + /** Optional pretty print * - * @note In [[logger.LogLevel.Debug]] this is called on every Annotation after every Transform + * @note rarely used */ def serialize: String = this.toString -- cgit v1.2.3