clusterfuzz icon indicating copy to clipboard operation
clusterfuzz copied to clipboard

Make logs functions consistent with stdlib's logging module

Open jonathanmetzman opened this issue 1 year ago • 0 comments

Superseeds: https://github.com/google/clusterfuzz/pull/3793. Examples:

  1. Most logging libraries don't make you write "log_" before each function, but in CF we do. (e.g. "logs.log_error" instead of "logs.error".
  2. Most logging libraries call it "warning" not "warn". CF does "warn".
  3. Most logging libraries have an "info" function. In CF, this is called "log".

jonathanmetzman avatar Jun 20 '24 20:06 jonathanmetzman