Skip to content

Commit

Permalink
ADD - Session Logs Slice
Browse files Browse the repository at this point in the history
  • Loading branch information
BadPixxel committed Dec 14, 2023
1 parent 780a80a commit 070e8f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/splashsync/splashsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ public function importMessages()
Splash\Client\Splash::log()->smartFilter();
}
//====================================================================//
// Limit Log Buffer Size
Splash\Client\Splash::log()->slice();
//====================================================================//
// Save Changes to File
if (function_exists("json_encode")) {
file_put_contents($bufferFile, json_encode(Splash\Client\Splash::log()));
Expand Down

0 comments on commit 070e8f1

Please sign in to comment.