Logging Apex activity uses the apexsyslogjs function which is written in JavaScript. There is no version of this logger written in Java.
apexsyslogjs