Skip to content

Commit

Permalink
conform ellipsis with general print method
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig authored Feb 29, 2024
1 parent 7dff848 commit d3f7bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/levels.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ DEBUG <- structure(500L, level = 'DEBUG', class = c('loglevel', 'integer'))
TRACE <- structure(600L, level = 'TRACE', class = c('loglevel', 'integer'))

#' @export
print.loglevel <- function(x) {
print.loglevel <- function(x, ...) {
cat('Log level: ', attr(x, 'level'), '\n', sep = '')
}

Expand Down

0 comments on commit d3f7bff

Please sign in to comment.