mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 03:02:47 +01:00
Utils/SQLiteLogger: update log() to use subroutine signatures
This commit is contained in:
parent
0a81203cc9
commit
f172563fdc
@ -22,8 +22,8 @@ sub new($class, %args) {
|
|||||||
return bless $self, $class;
|
return bless $self, $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub log($self) {
|
sub log($self, $chunk) {
|
||||||
$self->{buf} .= shift;
|
$self->{buf} .= $chunk;
|
||||||
|
|
||||||
# DBI feeds us pieces at a time, so accumulate a complete line
|
# DBI feeds us pieces at a time, so accumulate a complete line
|
||||||
# before outputing
|
# before outputing
|
||||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
|||||||
# These are set by the /misc/update_version script
|
# These are set by the /misc/update_version script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 4861,
|
BUILD_REVISION => 4863,
|
||||||
BUILD_DATE => "2024-11-27",
|
BUILD_DATE => "2024-11-30",
|
||||||
};
|
};
|
||||||
|
|
||||||
sub initialize {}
|
sub initialize {}
|
||||||
|
Loading…
Reference in New Issue
Block a user