Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active February 3, 2026 20:21
Show Gist options
  • Select an option

  • Save dacr/5ed9d5640f7db1cdcf6d4450864d67e8 to your computer and use it in GitHub Desktop.

Select an option

Save dacr/5ed9d5640f7db1cdcf6d4450864d67e8 to your computer and use it in GitHub Desktop.
logging with julia / published by https://github.com/dacr/code-examples-manager #c45dc830-1231-11eb-3a9a-8fa0dd294e89/e9ef767280ecbd74bbe543022606f489cf199e2e
#!/usr/bin/env JULIA_DEBUG=Main julia
## summary : logging with julia
## keywords : logging, logs, julia, script
## publish : gist
## authors : David Crosson
## license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)
## id : c45dc830-1231-11eb-3a9a-8fa0dd294e89
## created-on : 2020-10-19T17:49:06Z
## managed-by : https://github.com/dacr/code-examples-manager
## execution : julia script (https://julialang.org/) - run as follow 'julia scriptname.jl' or directly thanks to the shebang
using Logging
@info "Starting"
@debug "eval = $(1+1)"
println("My wonderfull application")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment