Skip to content

Commit

Permalink
Merge pull request #986 from JuliaAI/default-logger-docstring
Browse files Browse the repository at this point in the history
Fix `default_logger` docstring
  • Loading branch information
ablaom authored Jul 2, 2024
2 parents 7254ee1 + 928a7d1 commit 9d78c6c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/resampling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,7 @@ tracking platforms, such as [MLflow](https://mlflow.org/docs/latest/index.html).
$DOC_DEFAULT_LOGGER
When MLJBase is first loaded, the default logger is `nothing`. To reset the logger, see
below.
When MLJBase is first loaded, the default logger is `nothing`.
"""
default_logger() = DEFAULT_LOGGER[]
Expand All @@ -786,9 +785,9 @@ Reset the default logger.
# Example
Suppose an [MLflow](https://mlflow.org/docs/latest/index.html) tracking service is running
on a local server at `http://127.0.0.1:500`. Then every in every `evaluate` call in which
`logger` is not specified, as in the example below, the peformance evaluation is
automatically logged to the service.
on a local server at `http://127.0.0.1:500`. Then in every `evaluate` call in which
`logger` is not specified, the peformance evaluation is
automatically logged to the service, as here:
```julia
using MLJ
Expand Down

0 comments on commit 9d78c6c

Please sign in to comment.