Skip to content

Conversation

@Lastwisher
Copy link

@Lastwisher Lastwisher commented Feb 17, 2020

Hello,
Thanks for this package, very simple and useful. I just made one line of insertion to your code.

As explained at resource
https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry

we have a option called "logName" i just added that option. This will allow us to write to diffrent files on log function.

Usage :

$context['stackdriver'] = [
    'logName' => 'projects/[projectIID]/logs/[LogName]'
];

Note ;
normally logname format is

projects/[projectIID]/logs/[LogName]

I can make a new pr that stores project id and fixes short format like

$context['stackdriver'] = [
    'logName' => '[LogName]'
];

Just want to get your opinion before i digg into more.

Thanks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant