Skip to content

Commit

Permalink
Add logging support
Browse files Browse the repository at this point in the history
  • Loading branch information
WendellAdriel committed Jun 26, 2023
1 parent 774a107 commit e5b54fd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions config/logging.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

declare(strict_types=1);

use Minicli\Logging\LogLevel;
use Minicli\Logging\LogType;

return [
/****************************************************************************
* Logging Configuration
* --------------------------------------------------------------------------
*
* This configuration defines the logging settings for your application.
*****************************************************************************/

'logging' => [
'type' => LogType::SINGLE->value,

'level' => LogLevel::INFO->value,

'timestamp_format' => 'Y-m-d H:i:s',
],
];
2 changes: 2 additions & 0 deletions logs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit e5b54fd

Please sign in to comment.