Print debugging statement: Difference between revisions

m
Line 121:
 
=={{header|Julia}}==
Julia has a native print logging type functions, including a core Logging module. In addition, there are several additional downloadable modules, such as Memento, with extended logging functionality. Julia's builtin logging has defined macros for logging levels: @error, @warn, @info, and @debug. By default, debug level statements in code are not printed unless the logging level is set to allow debug statements to print, which can be enabled by setting the JULIA_DEBUG environment variable.
<lang julia>function test()
@info "starting test()"
4,107

edits