1.1.1 • Published 5 years ago
af-super-console v1.1.1
af-super-console
Utilitário de debug para imprimir mensagens formatadas no console.
Instalando
npm i --save af-super-console
Iniciando
Imprimindo no Console
new SuperConsole('>> ALO ALO ALO <<').log();
Group LOG
Utilitario para gerar mensagens formatadas no padrão grupo, sem ter que pensar muito! Types: info, success, error, warning.
SuperConsole.groupLog({
type: 'info',
group: 'JOB-SAMPLE',
message: 'Executando a job X, de 5 em 5 minutos',
reason: '*/5 * * * *',
});
Cores
new SuperConsole('>> ALO ALO ALO <<').color('black').log();
new SuperConsole('>> ALO ALO ALO <<').color('white').log();
new SuperConsole('>> ALO ALO ALO <<').color('grey').log();
new SuperConsole('>> ALO ALO ALO <<').color('red').log();
new SuperConsole('>> ALO ALO ALO <<').color('magenta').log();
new SuperConsole('>> ALO ALO ALO <<').color('yellow').log();
new SuperConsole('>> ALO ALO ALO <<').color('cyan').log();
new SuperConsole('>> ALO ALO ALO <<').color('green').log();
Negrito
new SuperConsole('>> ALO ALO ALO <<').bold();
Cores Bg
new SuperConsole('>> ALO ALO ALO <<').bg('black').log();
new SuperConsole('>> ALO ALO ALO <<').bg('white').log();
new SuperConsole('>> ALO ALO ALO <<').bg('grey').log();
new SuperConsole('>> ALO ALO ALO <<').bg('red').log();
new SuperConsole('>> ALO ALO ALO <<').bg('magenta').log();
new SuperConsole('>> ALO ALO ALO <<').bg('yellow').log();
new SuperConsole('>> ALO ALO ALO <<').bg('cyan').log();
new SuperConsole('>> ALO ALO ALO <<').bg('green').log();
Versionamento
Versionamento SemVer. Para visualizar as versões disponíveis olhe em: tags on this repository.
Autor
- Marcus V. Mendes Gonçalves - Desenvolvimento dos protótipos, versão final e testes. - maviniciuus
Contribuições
Leia o guia de contribuições: CONTRIBUTING.md.
Licença
Esse projeto está licenciado como MIT. Veja mais em LICENSE.md para detalhes.