Parameter | Type | Description |
message | string|any | The data to log |
N/A
Outputs data to a terminal if available, and to the logfile aga.log. If message is a string, it is output as-is. If message is another type, it will use the default Python formatter for that type.
import agan
class game():
def create(self):
agan.log('Hello, AGA!')
agan.log(3)
agan.log(agan.mktrans())
return self
#
def update(self):
pass
#
def close(self):
pass