Close trims and closes the log file, errors are ignored.
Init initialises log file and logger.
ShowWrite writes a string to Stdout and passes the arguments on to the log Writer function.
Write writes a string to the log file if there is an initialized logger.