Skip to content

viniceosm/logpty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

logpty

Pretty print log output in devTools javascript console

logpty.c([color, msg])

console.log with font color

logpty.c(['#866cec', 'Lavanda!'])

logpty.c(['red', 'Cor vermelho!'], ['blue', ' Cor azul!'], ['', ' Sem cor!'])

logpty.b([bgcolor, msg])

console.log with background color

logpty.b(['red', 'Fundo vermelho!'], ['blue', ' Fundo azul!'], ['', ' Fundo sem cor.'])

logpty.cb([color, bgcolor, msg])

console.log with font color and background color

logpty.cb(['white', 'red', 'Fundo vermelho!'],
  ['white', '#866cec', ' Fundo lavanda!'],
  ['#a9ec6c', 'purple', ' Fundo roxo.'])

logpty.cb(['white', 'red', ' SUPREME '], ['', '', '\n\n\nfeito por viniceosm'])

Thanks!

About

Pretty print log output in devTools javascript console

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published