We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85e4de5 + 37fe5bb commit ce29e6fCopy full SHA for ce29e6f
1 file changed
user_guide_src/source/general/logging.rst
@@ -97,7 +97,7 @@ into the message string::
97
// Generates a message like: User 123 logged into the system from 127.0.0.1
98
$info = [
99
'id' => $user->id,
100
- 'ip_address' => $this->request->ip_address()
+ 'ip_address' => $this->request->getIPAddress()
101
];
102
103
log_message('info', 'User {id} logged into the system from {ip_address}', $info);
0 commit comments