Skip to content

Commit 35c4152

Browse files
committed
Add improvements comments
1 parent f1d5eb0 commit 35c4152

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/php-bufflog/BuffLog.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ private function formatLog($message, $level, $context = [], $extra = [])
7676

7777
private static function createLogger()
7878
{
79+
// @TODO: We could potentially use the Kubernetes downward API to
80+
// define the logger name. This will make it easier for developers
81+
// to read and friendlier to identify where come the logs at a glance
7982
self::$logger = new Logger('php-bufflog');
8083
$handler = new MonologStreamHandler('php://stdout');
8184

0 commit comments

Comments
 (0)