new(all): #156 and logo enhancement.
This commit is contained in:
parent
66757ed4cc
commit
be1e691f1c
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "botlib",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.5",
|
||||
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index",
|
||||
|
|
|
@ -63,10 +63,12 @@ const logger = createLogger({
|
|||
format: format.combine(
|
||||
format.colorize(),
|
||||
format.simple(),
|
||||
format.label({ label: 'GeneralBots' }),
|
||||
format.label({ label: 'GB' }),
|
||||
format.timestamp(),
|
||||
format.printf(nfo => {
|
||||
return `${nfo.timestamp} [${nfo.label}] ${nfo.level}: ${nfo.message}`;
|
||||
let message = `${nfo.timestamp} ${nfo.label} ${nfo.level} ${nfo.message}`;
|
||||
message = message.replace(/\-|\.|\d\d\dZ|\:/gi, '' );
|
||||
return message;
|
||||
})
|
||||
),
|
||||
levels: config.levels,
|
||||
|
|
Loading…
Add table
Reference in a new issue