R: Creates a logger object.

create.logger {log4r} | R Documentation

## Creates a logger object.

### Description

Creates a logger object.

### Usage

    create.logger(logfile = "logfile.log", level = "FATAL",
      logformat = NULL)

### Arguments

`logfile` | The full pathname of the file you want log messages to be written to.
`level` | The level at which the logger is initialized. Will be coerced using `as.loglevel`.
`logformat` | The format string used when writing messages to the log file.

### See Also

`loglevel`, `level.logger`

### Examples

    library('log4r')

    logger <- create.logger(logfile = 'debugging.log', level = "DEBUG")

[Package log4r version 0.3.1 Index]