mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-16 10:45:12 +00:00
fix(login): prettier setup (#11798)
# Which Problems Are Solved Invalid formatting in the login codebase due to invalid prettier configuration # How the Problems Are Solved Fxed .prettierignore wildcards for login source files # Additional Changes Removed .prettierrc file because there is already a prettier.config.mjs file # Additional Context
This commit is contained in:
@@ -60,10 +60,7 @@ export const logger = winston.createLogger({
|
||||
* @param metadata - Optional additional metadata to include in all log messages
|
||||
* @returns A child logger instance
|
||||
*/
|
||||
export function createLogger(
|
||||
context: string,
|
||||
metadata?: Record<string, unknown>,
|
||||
): winston.Logger {
|
||||
export function createLogger(context: string, metadata?: Record<string, unknown>): winston.Logger {
|
||||
return logger.child({ context, ...metadata });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user