com.avaje.ebean
Interface AdminLogging


public interface AdminLogging

Administrative control over transaction logging at runtime.

Enables an administrator to change the amount of transaction logging that occurs while the application is running.


Method Summary
 LogLevel getLogLevel()
          Return the overall transaction logging level.
 boolean isDebugGeneratedSql()
          Returns true if generated sql is logged to the console.
 boolean isDebugLazyLoad()
          Return true if lazy loading should be debugged.
 void setDebugGeneratedSql(boolean debugSql)
          Set to true to Log generated sql to the console.
 void setDebugLazyLoad(boolean debugLazyLoad)
          Set the debugging on lazy loading.
 void setLogLevel(LogLevel defaultLogLevel)
          Set the overall transaction logging level.
 

Method Detail

setLogLevel

void setLogLevel(LogLevel defaultLogLevel)
Set the overall transaction logging level.


getLogLevel

LogLevel getLogLevel()
Return the overall transaction logging level.


isDebugGeneratedSql

boolean isDebugGeneratedSql()
Returns true if generated sql is logged to the console.


setDebugGeneratedSql

void setDebugGeneratedSql(boolean debugSql)
Set to true to Log generated sql to the console.


isDebugLazyLoad

boolean isDebugLazyLoad()
Return true if lazy loading should be debugged.


setDebugLazyLoad

void setDebugLazyLoad(boolean debugLazyLoad)
Set the debugging on lazy loading.



Copyright © 2012. All Rights Reserved.