Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit ec145c2

Browse files
Switch to @info statements
1 parent e1eb0a0 commit ec145c2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/ReefGuideAPI.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,27 +146,27 @@ function get_auth_middleware(config :: Dict)
146146
end
147147

148148
function start_server(config_path)
149-
println("Launching server...please wait")
149+
@info "Launching server...please wait"
150150

151-
println("Parsing configuration from $(config_path)...")
151+
@info "Parsing configuration from $(config_path)..."
152152
config = TOML.parsefile(config_path)
153-
println("Successfully parsed configuration.")
153+
@info "Successfully parsed configuration."
154154

155155
# setting up middleware
156-
println("Setting up middleware.")
156+
@info "Setting up middleware."
157157
auth = get_middleware(config)
158-
println("Done.")
158+
@info "Done."
159159

160-
println("Setting up region routes...")
160+
@info "Setting up region routes..."
161161
setup_region_routes(config, auth)
162-
println("Completed region routes setup.")
162+
@info "Completed region routes setup."
163163

164-
println("Setting up tile routes...")
164+
@info "Setting up tile routes..."
165165
setup_tile_routes(auth)
166-
println("Completed tile routes setup.")
166+
@info "Completed tile routes setup."
167167

168-
println("Initialisation complete, starting server on port 8000.")
169-
println("Starting with $(Threads.nthreads()) threads...")
168+
@info "Initialisation complete, starting server on port 8000."
169+
@info "Starting with $(Threads.nthreads()) threads..."
170170
if Threads.nthreads() > 1
171171
serveparallel(middleware=[CorsMiddleware], host="0.0.0.0", port=8000)
172172
else

0 commit comments

Comments
 (0)