Log
class Log
Logging.
Typically, an instance is declared at the top of a class as a private static final member:
class MyClass
{
private static final Log LOG = new Log(MyClass.class);
⋮
}
Content copied to clipboard
if (code < 0 || code > MAX)
{
LOG.error("Unexpected code: %d", code);
return null;
}
Content copied to clipboard