Skip to content

Commit be7c015

Browse files
committed
Remove deprecated LogBuilder.existingField and existingFields methods
1 parent 6049638 commit be7c015

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/kotlin/dev/hermannm/devlog/LogBuilder.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -190,16 +190,6 @@ internal constructor(
190190
}
191191
}
192192

193-
@Deprecated("Renamed to 'addField'", ReplaceWith("addField(field)"), DeprecationLevel.ERROR)
194-
public fun existingField(field: LogField) {
195-
addField(field)
196-
}
197-
198-
@Deprecated("Renamed to 'addFields'", ReplaceWith("addFields(fields)"), DeprecationLevel.ERROR)
199-
public fun existingFields(fields: Iterable<LogField>) {
200-
addFields(fields)
201-
}
202-
203193
/**
204194
* Checks if the log [cause] exception (or any of its own cause exceptions) implements the
205195
* [WithLogFields] interface, and if so, adds those fields to the log.

0 commit comments

Comments
 (0)