Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dtt
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
dtt
Merge requests
!7
Update LoggerTrait.php for psr3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update LoggerTrait.php for psr3
issue/dtt-3453184:2.x
into
2.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Moshe Weitzman
requested to merge
issue/dtt-3453184:2.x
into
2.x
10 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
2.x
2.x (base)
and
latest version
latest version
b37f18a1
1 commit,
10 months ago
1 file
+
1
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/LoggerTrait.php
+
1
−
1
Options
@@ -28,7 +28,7 @@ trait LoggerTrait
@@ -28,7 +28,7 @@ trait LoggerTrait
/**
/**
* {@inheritdoc}
* {@inheritdoc}
*/
*/
public
function
log
(
$level
,
$message
,
array
$context
=
[]):
void
public
function
log
(
$level
,
string
|
\Stringable
$message
,
array
$context
=
[]):
void
{
{
if
(
$level
<=
$this
->
failOnLogsLevel
)
{
if
(
$level
<=
$this
->
failOnLogsLevel
)
{
throw
new
LoggedMessageException
(
strtr
(
$message
,
$context
),
$level
);
throw
new
LoggedMessageException
(
strtr
(
$message
,
$context
),
$level
);
Loading