Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providing additional functionality to customPrettifiers and messageFormat #495

Merged
merged 7 commits into from Mar 20, 2024

Commits on Feb 26, 2024

  1. feat: Add label and colorized output for level customPrettifier func

    Same implementation as pinojs#493 but using object for extras argument for compatibility with future signature expansion
    FoxxMD committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    1a30ae3 View commit details
    Browse the repository at this point in the history
  2. feat: Provide colorette object to message format function

    Enables users to use available colors based on `colorize` context of the pino-pretty instance
    
    Variant of pinojs#494 that provides colors as extras object for compatibility with future customPrettifier extras argument
    FoxxMD committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    d0f24ad View commit details
    Browse the repository at this point in the history
  3. feat: Provide colorette object to prettifyObject

    All keys for customPrettifier, other than logs, now provide colors as property on an additional `extras` object for the prettifyObject function signature
    FoxxMD committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    75f228f View commit details
    Browse the repository at this point in the history
  4. Merge branch 'provideColoretteObject' into additionalFunctionality

    # Conflicts:
    #	index.d.ts
    FoxxMD committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    7d6024c View commit details
    Browse the repository at this point in the history
  5. feat: Add colors to level prettifier function signature

    * Modify level prettifier function signature to match other prettifiers
      * Since only the first argument was documented anyway this shouldn't be a breaking change.
    FoxxMD committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    f5a1185 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2676ffd View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    1ee28b3 View commit details
    Browse the repository at this point in the history