Logger
in package
Table of Contents
Methods
- log() : bool
- Logs a message into $logFile. If file does not exist, it will be created.
Methods
log()
Logs a message into $logFile. If file does not exist, it will be created.
public
log(mixed $msg, string $logFile[, bool $createFile = false ]) : bool
Parameters
- $msg : mixed
- $logFile : string
-
Path and filename.
- $createFile : bool = false
-
Flag to create the log file if it does not exist.