Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-logs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-logs
Merge requests
!31
bugfix(compatibility): backward compatibility
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
bugfix(compatibility): backward compatibility
bugfix/backward-compatibility
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Grzegorz Rola
requested to merge
bugfix/backward-compatibility
into
master
11 months ago
Overview
0
Commits
1
Pipelines
1
Changes
2
0
0
Merge request reports
Viewing commit
27286b12
Show latest version
2 files
+
5
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
27286b12
bugfix(compatibility): backward compatibility
· 27286b12
Grzegorz Rola
authored
11 months ago
src/SimpleLoggerFactory.php
+
1
−
0
View file @ 27286b12
Edit in single-file editor
Open in Web IDE
Show full file
@@ -35,6 +35,7 @@ final class SimpleLoggerFactory implements LoggerFactory {
*/
public
function
__construct
(
string
$channel
,
$options
=
null
)
{
$this
->
channel
=
$channel
;
$options
=
$options
??
new
Settings
();
if
(
$options
instanceof
Settings
)
{
$options
=
$options
->
to_array
();
Loading