Hi all,
I'm trying to log information into the log file but all the methods I use do not seam to work. They don't return an error but the logs are not visible in the logs dashboard.
Does anyone know how to log things in Spryker ?
b
blue-carpenter-85560
05/25/2023, 8:33 AM
search for "LoggerTrait" in files in vendor/spryker and you will find examples how they log errors and such.
r
refined-australia-97241
05/25/2023, 9:06 AM
thanks ! the logged information is lost in a lot of static but it's there thanks to the LoggerFactory::getInstance()