Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
theogf committed Jul 20, 2024
1 parent 882f55d commit e9b4d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logger.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
RemoteLogger(pid=1, min_level=Info)
Logger that forward all logging to worker `pid` via `remote_do` along with
Logger that forwards all logging to worker `pid` via `remote_do` along with
adding the current worker `id` as a `pid` kwarg.
"""
struct RemoteLogger <: Logging.AbstractLogger
Expand All @@ -17,7 +17,7 @@ Logging.shouldlog(logger::RemoteLogger, level, _module, group, id) = true

# TODO: probably should live in base/logging.jl?
function logmsg(level::Logging.LogLevel, message, _module, _group, _id, _file, _line; kwargs...)
Logging.@logmsg level message _module=_module _group=_group _id=_id _file=_file _line=_line kwargs...
Logging.@logmsg level message _module = _module _group = _group _id = _id _file = _file _line = _line kwargs...
end

function Logging.handle_message(logger::RemoteLogger, level::Logging.LogLevel, message, _module, _group, _id,
Expand Down

0 comments on commit e9b4d9f

Please sign in to comment.