24/7 Support: 800.608.6482

Get Started

Developer Docs


MivaScript Builtin Function, Miva Merchant 9+

Tag / Description

miva_setlogmask( maskpri )

<mvt:assign name="g.return_value" value="miva_setlogmask( maskpri )" />

Causes all subsequent calls to miva_writelog to be ignored unless they specify a priority that is included in the maskpri argument. Will return failure unless the miva log is open.


  • maskpri

    a string containing a list of priorities. Each priority may be any of the words listed below. Commas and/or spaces separate the priorities. An empty string is permitted but means that all subsequent miva_writelog calls will be ignored.

Return Values


Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Contact Us
Receive Tips & Updates

Copyright © 2017 Miva, Inc - All Rights Reserved

Back To The Top