Skip to content

marcusyoda/af-super-console

Repository files navigation

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.

Group Log

SuperConsole.groupLog({
  type: 'info',
  group: 'JOB-SAMPLE',
  message: 'Executando a job X, de 5 em 5 minutos',
  reason: '*/5 * * * *',
});

Cores

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

Cores

new SuperConsole('>> ALO ALO ALO <<').bold();

Cores Bg

Cores

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.

About

Utilitário de debug para imprimir mensagens formatadas no console

Resources

License

Stars

Watchers

Forks

Packages

No packages published