MLprint: MLprint

Description Usage Arguments Value Note

View source: R/MessageLevel.R

Description

print the message level

Usage

1
MLprint(message, ML = c(1, 1), indent = 2, indentCharacter = " ")

Arguments

message

The message to be printed (or not). It's a character vector of length 1.

ML

integer vector length 2. The first element indicates how deep to print messages. The second element indicates how many layers deep already.

indent

integer length 1 - how many spaces to indent at each level. Defaults to 2.

indentCharacter

character length 1, nchar 1, the character to use for indenting messages

Value

Nothing gets returned

Note

This function decides whether or not to print a message, and how much to indent it. Whenever the ML parameter is passed between functions, the first element should remain constant, and the second element should be increased by 1.


debarros/dbTools documentation built on Sept. 18, 2020, 10:51 a.m.