Last active
April 2, 2023 10:11
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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