Package anvil

Examples of anvil.Log.debug()


      }
    } finally {
      Log log = context.log();

      long ended = System.currentTimeMillis();
      log.debug(context.getAddress().getPathinfo() + ' ' + (ended - started) + " ms");

      long used_end = (runtime.totalMemory() - runtime.freeMemory());
      log.info("Memory (kB)  "+(used_start/1024)+" - "+(used_end/1024)+" = "+(used_end - used_start)/1024);
      //log.info("Used_end_kB   : "+);
      //log.info("Delta_kB      : "+);
View Full Code Here


  public boolean checkPermission(Permission perm)
  {
    Log log = log();
    if (log.getSeverity() >= Log.DEBUG) {
      log.debug(perm.toString());
    }
 
    Citizen citizen = _citizen;
    if (citizen != null) {
      PermissionCollection pc = citizen.getCombinedPermissions();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.