Helper functions for debugf, to easily use a specific log level.
Helper functions for logf, to easily use a specific log level.
Helper functions for verbosef, to easily use a specific log level.
Configure the settings for UserIO, can be called multiple times.
Helper functions for debugf, to easily use a specific log level.
Helper functions for debugf, to easily use a specific log level.
Variant of UserIO.logf that only shows output in non-release builds.
Logs an exception, using the given LogFunc, as an error.
Gets input from the user, and uses the given ArgBinder (or the default one, if one isn't passed) to convert the string to a T.
A variant of UserIO.getInput that'll constantly prompt the user until they enter a value that doesn't cause an exception (of type Ex) to be thrown by the Binder.
A variant of UserIO.getInput that'll constantly prompt the user until they enter a value from the given list.
A variant of UserIO.getInput that'll constantly prompt the user until they enter a non-null, non-whitespace-only string.
Logs the given output to the console, as long as level is >= the configured minimum log level.
Helper functions for logf, to easily use a specific log level.
Helper functions for logf, to easily use a specific log level.
Variant of UserIO.log that uses std.format.format to format the final output.
Moves the console's cursor down and moves the cursor to the start of that line.
Moves the console's cursor up and moves the cursor to the start of that line.
Helper functions for verbosef, to easily use a specific log level.
Helper functions for verbosef, to easily use a specific log level.
Variant of UserIO.logf that only shows output if UserIOConfigBuilder.useVerboseLogging is set to true.
Provides various utilities: - Program-wide configuration via UserIO.configure - Logging, including debug-only and verbose-only logging via logf, debugf, and verbosef - Logging helpers, for example logTracef, debugInfof, and verboseErrorf. - Easily getting input from the user via getInput, getInputNonEmptyString, getInputFromList, and more.