# What is "log"

**URL:** <https://forum.kirupa.com/t/what-is-log/311461>\
**Category:** Uncategorized\
**Created:** [July 7, 2010, 8:11am UTC](https://forum.kirupa.com/t/what-is-log/311461 "2010-07-07T08:11:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ventoline](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Post date:** [July 7, 2010, 8:11am UTC](https://forum.kirupa.com/t/what-is-log/311461/1 "2010-07-07T08:11:53Z")

</div>

HI,

I was using open source classes and every classe that had the method “log” returned an error, it is unlikely to be the Math.log method but it seems to be some kind of debugging tool? Please enlight me!

```auto

private function logger(... args):void{
            if(!debug){ return; }
            //log(["[ZipLoader]"+args.shift()].concat(args));
}

```
