Fixed some banners

This commit is contained in:
Ice3man543 2021-08-31 19:58:11 +05:30
parent 44700e6c60
commit 2c8f5bc2e5
2 changed files with 3 additions and 3 deletions

View File

@ -20,6 +20,6 @@ func showBanner() {
gologger.Print().Msgf("%s\n", banner)
gologger.Print().Msgf("\t\tprojectdiscovery.io\n\n")
gologger.Warning().Msgf("Use with caution. You are responsible for your actions\n")
gologger.Warning().Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n")
gologger.Error().Label("WRN").Msgf("Use with caution. You are responsible for your actions\n")
gologger.Error().Label("WRN").Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n")
}

View File

@ -84,7 +84,7 @@ func (s *Storage) Display(name string) {
if dataValue == 0 {
return // don't show for nil stats
}
gologger.Info().Msgf(data.description, dataValue)
gologger.Error().Label("WRN").Msgf(data.description, dataValue)
}
// GetValue returns the value for a set variable