\Pluf\LoggerAppenderRemote

Posts loggs to remote server

Fire a POST request agains a server with the payload being the content of the log. The log is serialized as JSON. It is always containing the current stack, so an array of log "lines".

The configuration keys are:

  • 'log_remote_server' (localhost)
  • 'log_remote_path' (/)
  • 'log_remote_port' (8000)
  • 'log_remote_headers' (array())

Summary

Methods
Properties
Constants
write()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

write()

write(\Pluf\string  $message) 

Flush the stack to the remote server.

Parameters

\Pluf\string $message