AccessLogger (Access Logger ASL Extension 1.3.0-4.1.0-125698 API)
Date: 2016-10-27

org.gcube.application.framework.accesslogger.library.impl

## Class AccessLogger

- java.lang.Object
- - org.gcube.application.framework.accesslogger.library.impl.AccessLogger

- All Implemented Interfaces:
    AccessLoggerI

      public class AccessLogger
      extends Object
      implements AccessLoggerI

  Access logger class will be used to log all the needed entries
  Author:
    Panagiota Koltsida, NKUA

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static AccessLogger` | `getAccessLogger()` Returns the singleton access logger object
    `void` | `logEntry(String username, String vre, AccessLogEntry entry)` Logs an entry to the appropriate file

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getAccessLogger

          public static AccessLogger getAccessLogger()

      Returns the singleton access logger object
      Returns:
        The logger

    - #### logEntry

          public void logEntry(String username,
                               String vre,
                               AccessLogEntry entry)

      Logs an entry to the appropriate file
      Specified by:
        `logEntry` in interface `AccessLoggerI`
      Parameters:
        `username` - The username of the current user
        `vre` - The current VRE
        `entry` - The type of entry that will be logged

Copyright © 2016. All Rights Reserved.