Hi there. I have a quick query in relation to
Java logging functionality (java.util.logging). I know this may not be the best place to post this meassage but here goes anyway. In Java logging there is a Class LogRecord which has one constructor taking two parameters, i.e.
LogRecord(Level level,
String msg)
I am simply trying to extend this LogRecord class so that I can add my own methods and so on to the subclass as is standard in inheritance. However when I try to create a subclass called MyLogRecord, I keep encountering the following error:
constructor LogRecord() not found in class java.util.logging.LogRecord
The MyLogRecord class appears as follows.
import java.util.logging.LogRecord;
import java.util.logging.*;
public class MyLogRecord extends LogRecord
{}
I have reduced this class to a mere couple of lines of code, as it appears above, but I am still getting the same error. Can anyone please help. joe