mirror of
https://github.com/InternLM/InternBootcamp.git
synced 2026-04-22 16:49:04 +00:00
init-commit
This commit is contained in:
commit
18a552597a
3461 changed files with 1150579 additions and 0 deletions
9
internbootcamp/libs/futoshiki/log.py
Executable file
9
internbootcamp/libs/futoshiki/log.py
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
class output_log:
|
||||
def __init__(self):
|
||||
self.output_str = ""
|
||||
|
||||
def log(self,text):
|
||||
self.output_str += text
|
||||
|
||||
def get_log(self):
|
||||
return self.output_str
|
||||
Loading…
Add table
Add a link
Reference in a new issue