Functions

The following functions are available globally.

  • Output an error message on stdout.

    Declaration

    Swift

    public func errorMessage(msg: String)

    Parameters

    msg

    The message to output.

  • Output a warning message on stdout.

    Declaration

    Swift

    public func warningMessage(msg: String)

    Parameters

    msg

    The message to output.

  • Output a success message on stdout.

    Declaration

    Swift

    public func successMessage(msg: String)

    Parameters

    msg

    The message to output.

  • Output a header message on stdout that seperates different main operations.

    Declaration

    Swift

    public func headerMessage(msg: String)

    Parameters

    msg

    The message to output.

  • Output a standard output message on stdout. These are only displayed if the verbose mode is activated.

    Declaration

    Swift

    public func outputMessage(msg: String)

    Parameters

    msg

    The message to output.

  • Output an abort message on stdout when an operation is aborted due to an error

    Declaration

    Swift

    public func abortMessage(msg: String)

    Parameters

    msg

    The message to output