function getLoggerView codegetLogger(name?: string): LoggerGet a logger instance. If not specified name, get the default logger. Parametersoptionalname: stringView codeReturn TypeLoggerView code