IPrinter Type
Represents a printer interface. It is recommended to use this interface
instead of other language primitives, such as System.Console or
printfn.
Instance members
| Instance member |
Description
|
Full Usage:
this.Flush
Modifiers: abstract |
Flushes out everything. |
|
Returns the current log level of the printer.
|
|
|
|
Prints out the given ColoredString. If the optional log level lvl is provided, the string is printed only if the current log
level is equal to or higher than lvl. By default,
lvl is set to
|
|
Prints out the given string. If the optional log level lvl is provided, the string is printed only if the current log
level is equal to or higher than lvl. By default,
lvl is set to
|
|
Prints out a newline. If the optional log level lvl is
provided, the newline is printed only if the current log level is equal to
or higher than lvl. By default, lvl
is set to
|
|
|
|
Prints out the given ColoredString with newline. If the optional log level
lvl is provided, the string is printed only if the
current log level is equal to or higher than lvl. By
default, lvl is set to
|
|
Prints out the given string with newline. If the optional log level
lvl is provided, the string is printed only if the
current log level is equal to or higher than lvl. By
default, lvl is set to
|
|
Prints out a table row for the given OutString array of column values. This function only works if the current table configuration has the same number of columns as the length of the given OutString array.
|
|
Prints out a table row for the given ColoredString array of column values. This function only works if the current table configuration has the same number of columns as the length of the given ColoredString array.
|
Full Usage:
this.PrintRow
Parameters:
string[]
Modifiers: abstract |
Prints out a table row for the given string array of column values. This function only works if the current table configuration has the same number of columns as the length of the given string array.
|
|
Sets the current log level of the printer. The printer will only print out
messages with log level equal to or lower than the current log level. By
default, the log level is set to
|
|
Returns the current table configuration.
|
Static members
| Static member |
Description
|
|
|
|
Prints out the given ColoredString array as a table row.
|
|
Prints out the given string array as a table row.
|
|
Prints out the given ColoredString with newline.
|
Prints out the given string with newline.
|
|
|
|
|
Prints out the given ColoredString array as a table row and returns the printer itself. This operator is useful for chaining multiple printing operations.
|
|
|
|
Prints out the given ColoredString with newline and returns the printer itself. This operator is useful for chaining multiple printing operations.
|
|
Prints out the given ColoredString as an error message.
|
Prints out the given string as an error message.
|
B2R2