Is there a way of enable debug level logging in code via Logging api. Log level seems start from Info and other than environment variable there seems to be no way of enabling debug level in code if I am not mistaken. I am newbie in julia.
I would like to state that this logging library is far more mess or weaker than any comparable library in python or ruby. I am suprised about this.
In case someone wants to pick this up, here is the doc file in question and here is how that environment variable special cases certain values and extracts the modules to log. The linked function returns true or false depending on whether or not the environment variable contains a module or not (or is filtered out).
julia> using Logging
# Create a logger with Debug level
julia> debug_logger = ConsoleLogger(stderr, Logging.Debug);
# Set the global logger to our debug logger
julia> global_logger(debug_logger);
julia> @debug "hello, world"
┌ Debug: hello, world
└ @ Main REPL[4]:1