View logger.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const logFolder = process.env.LOG_FOLDER; | |
// LOG_FOLDER=C:/full/path/to/folder | |
const filePath = (date) => `${Setup.logFolder}/${date}`; | |
const onError = (error) => console.error('LOG SAVING ERROR: ', error); | |
// display Error in console if cannot save to file | |
// separate files for log and error messages | |
const now = () => { |
View theme.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.theme-toggle { | |
display: inline; | |
align-self: center; | |
} | |
.theme-checkbox { | |
opacity: 0; | |
display: none; | |
} |