Tricky but what the hell here goes -- I would advise raising your helicopter view a mile or so. The challenge, especially if you are providing a solution to the whole world via CPAN, tends in the context to be to design a cohesive logging system for diverse components written in different sources (fail that and your efforts are relatively futile) e.g. perl, c, bash, SQL, (update plus system and http logs) that meets at least the following criteria:

Logging has the same format especially timestamp for all components in the system.

Originating source of each line of logging can be easily determined from the line of logging.

Logged info must be designed to assist support engineers as well as developers (best achieved by separate or concatenated logging for each audience type

The difference between the line of logging and further information and/or guilty data needs to be clear from the logging syntax you choose.

and whatever else other monks might notice (it is also getting late for me).

I would also advise using a namespace that is less mistakable with the mathematical concept of log, i.e. use Logging instead of log. My first thought was that your module had something to do with logs to base 4 which I suggest is not so stupid given that logs to base 8 are important in devORops - a profession I recently accidentally adopted which might well be on the up.

upd+ ok you can get away with some diversity and nonconformity but you cannot ignore what the overall objective of logging is (support/maintenace of an application system) to the extent you seem to have done so in the narrowness of your scope.

upd+ if you do design it for more general use, you'd want to make a callable API of it and have your Perl module also call that.

One world, one people


In reply to Re: Evaluation of my CPAN module by anonymized user 468275
in thread Evaluation of my CPAN module by nysus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.