Skip to content

Commit

Permalink
Add DEFAULT_LOGNAME for writing logs to file.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrencegf committed Mar 18, 2021
1 parent c385b90 commit e063296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Loggit.php
Expand Up @@ -36,7 +36,7 @@ class Loggit
* 'console', 'syslog', or 'file'.
* @param string $name (Optional) The name of the log file.
*/
public function __construct($logtype = DEFAULT_LOGTYPE, $logname = '')
public function __construct($logtype = DEFAULT_LOGTYPE, $logname = DEFAULT_LOGNAME)
{
$ident = Util::getServerVar('SERVER_NAME') .
Util::getServerVar('REQUEST_URI');
Expand Down

0 comments on commit e063296

Please sign in to comment.