Improved log

This commit is contained in:
Peng-YM 2020-12-02 16:35:54 +08:00
parent f54b87dff3
commit f540e49bca
2 changed files with 9 additions and 4 deletions

View File

@ -18,7 +18,12 @@ service();
/****************************************** Service **********************************************************/
function service() {
console.log("========== Sub-Store ===========")
console.log(
`
𝑺𝒖𝒃-𝑺𝒕𝒐𝒓𝒆 © 𝑷𝒆𝒏𝒈-𝒀𝑴
`)
const $app = express();
// Constants
const SETTINGS_KEY = "settings";
@ -3365,7 +3370,7 @@ function express({port} = {port: 3000}) {
// adapter
app.start = () => {
app.listen(port, () => {
$.info(`Express started on port: ${port}`);
$.log(`Express started on port: ${port}`);
});
};
return app;

File diff suppressed because one or more lines are too long