Subversion Repositories oidplus

Rev

Rev 1185 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1185 Rev 1197
Line 24... Line 24...
24
// phpcs:enable PSR1.Files.SideEffects
24
// phpcs:enable PSR1.Files.SideEffects
25
 
25
 
26
abstract class OIDplusLoggerPlugin extends OIDplusPlugin {
26
abstract class OIDplusLoggerPlugin extends OIDplusPlugin {
27
 
27
 
28
        /**
28
        /**
29
         * @param string $event
29
         * @param OIDplusLogEvent $event
30
         * @param array<int,string>[] $users Array of "Severity => username"
-
 
31
         * @param array<int,string>[] $objects Array of "Severity => objectname"
-
 
32
         * @return bool
30
         * @return bool
33
         */
31
         */
34
        public abstract function log(string $event, array $users, array $objects): bool;
32
        public abstract function log(OIDplusLogEvent $event): bool;
35
 
33
 
36
        /**
34
        /**
37
         * @param string $reason
35
         * @param string $reason
38
         * @return bool
36
         * @return bool
39
         */
37
         */