Not passing 3 of the requirements don't know why.
Any help would be great thanks
package com.codegym.task.task09.task0906;
/*
Logging stack traces
*/
import java.util.logging.Logger;import java.util.Stack;
public class Solution {
public static void main(String[] args) {
log("In main method");
}
public static void log(String s) {
//write your code here
String C = Thread.currentThread().getStackTrace()[1].getClassName();
String M =Thread.currentThread().getStackTrace()[2].getMethodName();
System.out.println(C + ": " + M +": " + "In main method");
}
}