ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.229 by root, Sun Apr 1 00:36:34 2007 UTC vs.
Revision 1.230 by root, Mon Apr 2 18:04:46 2007 UTC

371 371
372 aio_rename "$runtime~", $runtime 372 aio_rename "$runtime~", $runtime
373 and return; 373 and return;
374 374
375 1 375 1
376}
377
378=item cf::datalog type => key => value, ...
379
380Log a datalog packet of the given type with the given key-value pairs.
381
382=cut
383
384sub datalog($@) {
385 my ($type, %kv) = @_;
386 warn "DATALOG ", JSON::XS->new->ascii->encode ({ %kv, type => $type });
376} 387}
377 388
378=back 389=back
379 390
380=cut 391=cut

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines