Correcao Sidebar Classico e Rail, Correcao Layout, Ajuste de Breakpoint para Tailwind, Ajuste AppTopbar, Ajuste Menu PopOver, Recriado Paleta de Cores, Inserido algumas animações leves, Reajuste Cor items NOVOS da tabela, Drawer Ajuda Corrigido no Logout, Whatsapp, sms, email, recursos extras
This commit is contained in:
@@ -4,30 +4,30 @@
|
||||
* Logger simples que imprime no console e acumula linhas para salvar em arquivo.
|
||||
*/
|
||||
|
||||
const lines = []
|
||||
const lines = [];
|
||||
|
||||
function timestamp () {
|
||||
return new Date().toISOString().replace('T', ' ').substring(0, 19)
|
||||
function timestamp() {
|
||||
return new Date().toISOString().replace('T', ' ').substring(0, 19);
|
||||
}
|
||||
|
||||
export function logInfo (msg) {
|
||||
const line = `[INFO] ${timestamp()} ${msg}`
|
||||
console.log(line)
|
||||
lines.push(line)
|
||||
export function logInfo(msg) {
|
||||
const line = `[INFO] ${timestamp()} ${msg}`;
|
||||
console.log(line);
|
||||
lines.push(line);
|
||||
}
|
||||
|
||||
export function logWarning (msg) {
|
||||
const line = `[WARN] ${timestamp()} ${msg}`
|
||||
console.warn(line)
|
||||
lines.push(line)
|
||||
export function logWarning(msg) {
|
||||
const line = `[WARN] ${timestamp()} ${msg}`;
|
||||
console.warn(line);
|
||||
lines.push(line);
|
||||
}
|
||||
|
||||
export function logError (msg) {
|
||||
const line = `[ERROR] ${timestamp()} ${msg}`
|
||||
console.error(line)
|
||||
lines.push(line)
|
||||
export function logError(msg) {
|
||||
const line = `[ERROR] ${timestamp()} ${msg}`;
|
||||
console.error(line);
|
||||
lines.push(line);
|
||||
}
|
||||
|
||||
export function getLog () {
|
||||
return lines.join('\n')
|
||||
export function getLog() {
|
||||
return lines.join('\n');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user