Skip to content

config.rails_semantic_logger.action_message_format not working? #262

@waferbaby

Description

@waferbaby

Hello! Is this option still meant to work? I was hoping to format the ActionController log message with some custom details for our application, but trying to set a proc with the above config just throws an error:

undefined method `action_message_format=' for an instance of RailsSemanticLogger::Options (NoMethodError)

config.rails_semantic_logger.action_message_format = proc do |message, payload|

This is on rails_semantic_logger 4.17.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions