Rex icon indicating copy to clipboard operation
Rex copied to clipboard

Rex::Logger improvements

Open kablamo opened this issue 10 years ago • 2 comments

Synopsis of changes:

use Rex;
use Rex::Logger qw/:all/;

log_debug("doing a thing");
log_info("boop");
log_warn("the core is in danger of meltdown");
log_error("the core melted");

kablamo avatar Dec 02 '15 06:12 kablamo

  • removed Exporter::Shiny dependency even though its awesome :sob:
  • warn() is a perl builtin so all methods now start with log_. Probably makes more sense to have a verb in the func name anyway.
  • force pushed
  • ready for review

kablamo avatar Dec 03 '15 07:12 kablamo

Updated to make call to info() backwards compatible. As we agreed on irc this doesn't need to be merged until the next release. Ready for review though.

kablamo avatar Dec 09 '15 12:12 kablamo