Skip to content

Commit

Permalink
MdcDefaultValue doc was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
Randgalt committed Nov 13, 2019
1 parent 8931736 commit a7d6dee
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -24,9 +24,8 @@
import java.lang.annotation.Target;

/**
* Can be used with {@link io.soabase.maple.api.MapleFormatter}s that use Jackson
* (e.g. {@link io.soabase.maple.formatters.ModelFormatter}. Fields annotated with this
* will not get logged. For example, mark password fields or any other security sensitive fields.
* You can annotate schema methods with {@code @MdcDefaultValue}. For these methods if you do not specify a value directly,
* Maple will look in the MDC for the value
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})

0 comments on commit a7d6dee

Please sign in to comment.