Commit bc62e26c authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add the method log into ERP5Site as well.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3917 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9cf48bd9
...@@ -560,6 +560,12 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -560,6 +560,12 @@ class ERP5Site ( CMFSite, FolderMixIn ):
if immediate_reindex: new_instance.immediateReindexObject() if immediate_reindex: new_instance.immediateReindexObject()
return new_instance return new_instance
def log(self,description,content):
"""
Put a log message
"""
LOG(description,0,content)
Globals.InitializeClass(ERP5Site) Globals.InitializeClass(ERP5Site)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment