Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: logger
Title: A Lightweight, Modern and Flexible Logging Utility
Version: 0.4.1.9001
Version: 0.4.1.9002
Date: 2025-10-29
Authors@R: c(
person("Gergely", "Daróczi", , "daroczig@rapporter.net", role = c("aut", "cre"),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
New features and quality of life improvements:

* Added `appender_ntfy()` to use {ntfy} as an appender (#240, @jonocarroll)
* `normalizePath()` in the `log_call_location()` no longer triggers warning
if the package source does not exist (#241, @maksymiuks)

# logger 0.4.1 (2025-09-08)

Expand Down
4 changes: 2 additions & 2 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ log_eval <- function(expr, level = TRACE, multiline = FALSE) {

## return the results of the call
if (res$visible == TRUE) {
return(res$value)
res$value
} else {
return(invisible(res$value))
invisible(res$value)
}
}

Expand Down
2 changes: 1 addition & 1 deletion R/layouts.R
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ layout_syslognet <- structure(
"DEBUG" = "DEBUG",
"TRACE" = "DEBUG"
)
return(ret)
ret
},
generator = quote(layout_syslognet())
)
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ log_call_location <- function(.logcall) {
loc$line <- ref[1L]
file <- attr(ref, "srcfile")
if (!is.null(file)) {
loc$path <- normalizePath(file$filename, winslash = "/")
loc$path <- normalizePath(file$filename, winslash = "/", mustWork = FALSE)
}
break
}
Expand Down