Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘小敏
loveisland
Commits
52d36ca6
Commit
52d36ca6
authored
May 19, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3D试戴优化5
parent
d0180cd1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
helper.php
addons/shopro/helper/helper.php
+2
-2
No files found.
addons/shopro/helper/helper.php
View file @
52d36ca6
...
@@ -635,7 +635,7 @@ if (!function_exists('format_log_error_custom_name')) {
...
@@ -635,7 +635,7 @@ if (!function_exists('format_log_error_custom_name')) {
*
*
* @param object $error 日志异常类
* @param object $error 日志异常类
* @param string $name 日志业务场景描述
* @param string $name 日志业务场景描述
* @param string $message
日志内容
* @param string $message
错误消息提示
* @param string $log_name 文件名(不需要 .log)
* @param string $log_name 文件名(不需要 .log)
* @param string $level 级别 info/error/debug
* @param string $level 级别 info/error/debug
* @return void
* @return void
...
@@ -644,7 +644,7 @@ if (!function_exists('format_log_error_custom_name')) {
...
@@ -644,7 +644,7 @@ if (!function_exists('format_log_error_custom_name')) {
{
{
$logInfo
=
[
$logInfo
=
[
"==========
$name
LOG INFO BEGIN =========="
,
"==========
$name
LOG INFO BEGIN =========="
,
'[ Message ] '
.
var_export
(
'['
.
$error
->
getCode
()
.
']
'
.
$error
->
getMessage
()
.
'
'
.
$message
,
true
),
'[ Message ] '
.
var_export
(
'['
.
$error
->
getCode
()
.
']
getMessage:'
.
$error
->
getMessage
()
.
' fullmess:
'
.
$message
,
true
),
'[ File ] '
.
var_export
(
$error
->
getFile
()
.
':'
.
$error
->
getLine
(),
true
),
'[ File ] '
.
var_export
(
$error
->
getFile
()
.
':'
.
$error
->
getLine
(),
true
),
'[ Trace ] '
.
var_export
(
$error
->
getTraceAsString
(),
true
),
'[ Trace ] '
.
var_export
(
$error
->
getTraceAsString
(),
true
),
"=============================================
$name
LOG INFO ENDED =========="
,
"=============================================
$name
LOG INFO ENDED =========="
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment