Create new log

Share:

Description

Create new log

Usage

1
newlog(logfile, loglevel, sink, description, closeit)

Arguments

logfile

Name of log file (character or connection)

loglevel

Minimum priority level (numeric)

sink

Send all console output to logfile? (logical)

description

Description (character)

closeit

File should be closed when log closes? (logical)

Details

This handles internal data tracking only, not the file on disk.