Skip to content

It should not be necessary to tostring values in log messages. #5

Description

@Ozzypig
logger:info("%s did a thing", tostring(player))
logger:info("%s did a thing", player.Name)

The above seems needlessly verbose. It should be possible to do just:

logger:info("%s did a thing", player)

Currently, this raises an error because of ("%s"):format(player) not being a thing that you can do.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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