artificery v0.2.0 Artificery.Console
A minimal logger
Link to this section Summary
Functions
Updates the logger configuration with the given options
Prints a debug message, only visible when verbose mode is on
Prints an error message, and then halts the process
Prints an info message
Initializes the logger configuration
Prints a notice
Provides a spinner while some long-running work is being done
Prints a success message
Prints a warning message
Gets the current width of the terminal in columns
Link to this section Functions
Updates the logger configuration with the given options.
Prints a debug message, only visible when verbose mode is on
Prints an error message, and then halts the process
Prints an info message
Initializes the logger configuration
Prints a notice
Provides a spinner while some long-running work is being done.
Options
- spinner: one of the spinners defined in Artificery.Console.Spinner
Example
Console.spinner "Loading...", [spinner: :simple_dots] do
:timer.sleep(5_000)
end
Prints a success message
Prints a warning message
Gets the current width of the terminal in columns