Loggers
Log.apex use logger objects to print logging information.
private static final Log logger = Log.getLogger(MyClass.class);
logger.debug('Debug message');
x
1
private static final Log logger = Log.getLogger(MyClass.class);
2
3
logger.debug('Debug message');