Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
php-logger
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 49ee5037
authored
Sep 03, 2024
by
irul
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
menambahkan default timezone asia/jakarta
1 parent
55366e58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
Logger.php
Logger.php
View file @
49ee503
...
@@ -169,6 +169,7 @@ class Logger
...
@@ -169,6 +169,7 @@ class Logger
* */
* */
public
function
do_write
(
$log_string
,
$log_source
,
$log_level
=
'debug'
)
public
function
do_write
(
$log_string
,
$log_source
,
$log_level
=
'debug'
)
{
{
date_default_timezone_set
(
'Asia/Jakarta'
);
if
(
self
::
$log_level_integers
[
$log_level
]
>
self
::
$log_level_integers
[
self
::
$log_level
]){
if
(
self
::
$log_level_integers
[
$log_level
]
>
self
::
$log_level_integers
[
self
::
$log_level
]){
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment