From cc416d42212e30a1fb8932d146813269a9da2860 Mon Sep 17 00:00:00 2001 From: guyp-descope Date: Tue, 18 Jul 2023 12:09:56 +0300 Subject: [PATCH] Add comment --- samlidp/samlidp.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samlidp/samlidp.go b/samlidp/samlidp.go index 771aab60..84f15f3c 100644 --- a/samlidp/samlidp.go +++ b/samlidp/samlidp.go @@ -80,6 +80,9 @@ func New(opts Options) (*Server, error) { return s, nil } +// Initialize the Server logger. (This function should be used only when +// not using the default New(opts Options) function where the logger +// object can be passed through the options) func (s *Server) InitializeLogger(logger logger.Interface) { if s != nil { s.logger = logger