new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Playwright · API reference · all subjects

logger/methods

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Logger.isEnabled parameters

Logger.isEnabled takes two parameters: name (string) which is the logger name, and severity (LogSeverity union type with values 'verbose', 'info', 'warning', or 'error').

Logger.log method parameters

Logger.log takes five parameters: name (string) for the logger name, severity (LogSeverity union type with values 'verbose', 'info', 'warning', or 'error'), message (string or Error) for the log message format, args (Array of Objects) for message arguments, and hints (Object with optional color property of type string) for optional formatting hints.

Logger.isEnabled method signature and return type

Logger.isEnabled is a method that returns a boolean. It determines whether the sink is interested in the logger with the given name and severity.

Give your agent this brain