Hold up, is this a trick question? I bet the answer is option A, but the real question is why the heck would anyone name their log category 'products'? That's just begging for confusion!
This is a tricky one, but I'm going with option C. The code is using 'Logger.getLogger('products')', so the 'root' logger configuration shouldn't apply. The 'info' message should be the only one logged since the log level is set to WARN.
Well, the question states that the code is executing 'var log = Logger.getLogger('products');', so I'm going to go with option B. The 'error' message should be logged, and the 'info' message should also be logged since it's less severe than the 'warn' level.
Hmm, the active log category is 'root' and the log level is set to WARN, so I think option A is the correct answer. The 'warn' message should be logged, but the 'error' message will also be logged due to the higher severity level.
Yolande
1 months agoKeshia
5 days agoRoy
13 days agoEvette
29 days agoDelfina
1 months agoErasmo
2 months agoPete
2 months agoJustine
2 months agoMargarett
2 months agoEthan
13 days agoTeddy
14 days agoLaine
18 days agoReiko
28 days agoCandida
1 months agoCletus
1 months agoDino
1 months agoHelga
2 months agoErasmo
2 months ago