Learn R Programming

lgr (version 0.3.4)

print.Appender: Print an Appender object

Description

The print() method for Loggers displays the most important aspects of the Appender.

Usage

# S3 method for Appender
print(x, color = requireNamespace("crayon", quietly =
  TRUE), ...)

Arguments

x

any R Object

color

TRUE or FALSE: Output with color? Requires the Package crayon

...

ignored

Value

print() returns x (invisibly), format() returns a character vector.

Examples

Run this code
# NOT RUN {
# print most important details of logger
print(lgr$console)
# }

Run the code above in your browser using DataLab