-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test PHP 7.3 #7
test PHP 7.3 #7
Conversation
Will rebase after the merge of #6 |
ac88de7
to
aaaa499
Compare
This one is green and ready to merge. Can you please create a new release after this merge? |
@OskarStark BTW. In which context do you use the library, for the shop monitoring? Thx. |
Hey @bueltge No for an internal tool, but the "performance" is quite bad :( |
Have you tried out to bulk-send the logs to logz,io? @OskarStark |
I would say yes, at it is the default, right? |
Depends on how you're using it. Monolog, by default, does not send in bulk. So you have to use something like this: <?php declare(strict_types=1);
use Inpsyde\LogzIoMonolog\Handler\LogzIoHandler;
use Monolog\Handler\BufferHandler;
use Monolog\Logger;
$handler = new BufferHandler(new LogzIoHandler($token));
$logger = new Logger('name');
$logger->pushHandler($handler); |
Ähm I used the symfony monolog settings. I thought it is default, because of: public function __construct(
string $token,
string $type = 'http-bulk',
bool $ssl = true,
int $level = Logger::DEBUG,
bool $bubble = true
) {
``
`http-bulk` |
Hehe no, Monolog does trigger
See also: https://app.logz.io/#/dashboard/data-sources/Bulk-HTTPS (needs login). You've to use the
|
is it possible to log to logz io AND to a file? |
Can you merge this? |
Sure! |
No description provided.