Package org.opencms.gwt.shared
Class CmsGwtLog
java.lang.Object
org.opencms.gwt.shared.CmsGwtLog
Dummy log that does nothing on the server side.
For the actual client side implementation, look in the super_src folder. We are doing this so that shared classes can use logging functions when run on the client.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Logs a message to the browser console if possible.static void
Logs a message with the current stack trace to the browser console if possible.static void
Logs a warning to the browser console if possible.
-
Constructor Details
-
CmsGwtLog
public CmsGwtLog()
-
-
Method Details
-
log
Logs a message to the browser console if possible.- Parameters:
message
- the message to log
-
trace
Logs a message with the current stack trace to the browser console if possible.- Parameters:
message
- the message to log
-
warn
Logs a warning to the browser console if possible.- Parameters:
message
- the message to log
-