~trh/+junk/irrawaddy

« back to all changes in this revision

Viewing changes to src/Debug.vala

  • Committer: Thura
  • Date: 2010-10-06 12:28:19 UTC
  • Revision ID: trhura@gmail.com-20101006122819-d6xd2elsle9ua51d
update prototype

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
    private void log(FileStream stream, string prefix, string message) {
123
123
        time_t now = time_t();
124
124
        stream.printf("%s %s [%s] %s\n",
125
 
            Config.APP_VERSION,
126
 
            Time.local(now).to_string(),
127
 
            prefix,
128
 
            message
129
 
        );
 
125
                                          Config.APP_VERSION,
 
126
                                          Time.local(now).to_string(),
 
127
                                          prefix,
 
128
                                          message
 
129
                        );
130
130
        stream.flush();
131
131
    }
132
132