Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/5ed9d5640f7db1cdcf6d4450864d67e8 to your computer and use it in GitHub Desktop.
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/3654971b6be0461daad262a227ee77462c9b2221
#!/usr/bin/env JULIA_DEBUG=Main julia
## summary : logging with julia
## keywords : logging, logs, julia, script
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## 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