Skip to content

Commit

Permalink
feat: add download logs action
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 4, 2024
1 parent 94ddcaa commit 4f42597
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Pdk/Logger/PsLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ public function __construct(FileSystemInterface $fileSystem)
$this->createLogDirectory();
}

/**
* @return string[]
*/
public function getLogFiles(): array
{
return array_map(function (string $level): string {
return $this->getLogFilename($level);
}, self::LOG_LEVELS);
}

/**
* @param string $level
* @param \Throwable|array|string $message
Expand Down

0 comments on commit 4f42597

Please sign in to comment.