• Samir Aguiar authored
     
    Browse Code »
  • Adds a log helper module that can be used by all modules and
    handles logging in general, avoiding code duplication. It also
    handles JSON output formatting by logging all messages in JSON
    format, thus making it easy for modules to support the `-j` flag.
    
    The module works by overwriting the default logging class to
    extend its behavior (adding a function to always log, useful for
    banners and other stuff). The JSON format uses a special formatter
    that will output JSON from a string or a dictionary.
    Samir Aguiar authored
     
    Browse Code »