How to print Player Name?

Hello,
I am trying to print the player name (inside the event log)

is there a shorter way to print it ?

function OnPlayerJoined(player)
print(player.name)
end
Game.playerJoinedEvent:Connect(OnPlayerJoined)