Skip to content

Commit 25311de

Browse files
Update Logger.php
moved to exemple
1 parent 6f5bbbb commit 25311de

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Logger.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,5 @@ public function fileExists() {
7272
}
7373
}
7474

75-
// Usage example:
76-
$logFileName = 'myapp.log';
77-
$logger = new Logger($logFileName);
78-
$logger->info('This is an info message.');
79-
$logContent = $logger->readLogs();
80-
echo nl2br(htmlspecialchars($logContent));
81-
$logger->deleteLogFile();
75+
8276
?>

0 commit comments

Comments
 (0)