Rather than a generic logit("Shit happens");, we use log(LOG_DEBUG, "Uh
oh, something bizarre is happening here..");, with numerous log files
defined. Using logit as your start point, add another argument to it
which is the filename to save to, then do a global search/replace on your
code, changing logit( to log(LOG_GENERAL. As your needs change, you can
change the GENERAL to another filename macro.
On Tue, 11 Feb 1997, Shaw J wrote:
> I want to be able to monitor my immorts, unfortuantely most of them are
> new and seemingly unexperienced and I don't want them screwing them up
> for everyone. I would like to create a file that will log all of their
> activity, similiar to the snoop command. I will only want to use this
> on the new immorts and not the higher gods. I use Win95.
>
> Please let me know if anyone has some ideas!
> Thanks
> Shaw
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
> | Or send 'info circle' to majordomo@cspo.queensu.ca |
> +-----------------------------------------------------------+
>
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
| Or send 'info circle' to majordomo@cspo.queensu.ca |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST