We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
logger
1 parent f55e68d commit cacbfd8Copy full SHA for cacbfd8
1 file changed
R/LogEvent.R
@@ -55,7 +55,7 @@ LogEvent <- R6::R6Class(
55
msg = NA,
56
...
57
){
58
- assert(inherits(logger, "Logger"))
+ assert(inherits(logger, "Logger"), "Logger must be a <Logger> object, not a", class_fmt(logger))
59
60
# assign has less overhead than [[ and event creation needs to be as fast
61
# as possible
0 commit comments