EnhancedLogging.EnhancedConsoleLogger
— TypeEnhancedConsoleLogger(stream::IO==stderr; kwargs...)
Replacement for the standard library ConsoleLogger
that adds several usability improvements.
Additional keyword arguments
The EnhancedConsoleLogger
supports all of the standard keyword arguments accepted by ConsoleLogger
. In addition, special behavior is defined for the following arguments:
_pid
: prints in a column on the top right side of a log message. This keyword is used internally byWorkerLogger
to display the originating process for a log message._overwrite
: Iftrue
, then repetitions of the log message will be printed over to avoid filling the screen with log messages.progress
: For a progress between 0 and 1, draw a progress bar on the right side of the log message._showlocation
: If true, print the location of the log message. Defaults to true forDebug
,Warning
, andError
logs, and to false forInfo
logs.
EnhancedLogging.WorkerLogger
— TypeSends all log records to the global logger on the master process. An additional keyword argument, _pid=myid()
is also passed.
EnhancedLogging.progress_string
— Methodprogress_string(progress, width)
Returns a string with a completion percentage and a progress bar. Uses Unicode characters to render sub-character progress increments.